1. A system for optimizing execution of a query expression on a database engine of a database server, comprising: a computer processor; a database engine on a database server for receiving the query expression with a plurality of query language elements; an evaluation counter module within the database engine, wherein the evaluation counter module increments an evaluation counter value corresponding to a query language element result; a flag within the database engine, wherein the flag is configured to be set in the database engine when the evaluation counter value reaches a threshold value; a seen counter module within the database engine, wherein the seen counter module increments a seen counter value corresponding to each of the query language elements when a query language element is evaluated; a cost value module within the database engine, wherein the cost value module assigns a cost value to each of the query language elements determined by a duration of time that a query processor uses to evaluate each query language element; and a module that reorders query language elements in the query expression in order of a most efficient query language element with a greatest probability of an early exit of the query expression evaluated first and a least efficient query language element with a lowest probability of an early exit of the query expression evaluated last in the query expression, wherein query language element efficiency is defined as the evaluation counter value divided by a product of the seen counter value and the cost value.