1. An optimized query processing system for processing a query to a database system, wherein the database system comprises a table of data and an index correlated to both the query and to the table, the optimized query processing system comprising: an index accessing module adapted to access the index a specified number of times to determine if the table contains an entry satisfying the query; and a tablescan module for scanning substantially the entire table and retrieving data satisfying the query.