fetch all with SQL_CALC_FOUND_ROWS