Support SQL_CACHE, SQL_NO_CACHE and SQL_CALC_FOUND_ROWS options