select * from ($sql_query) x where row_index >= :start_row and row_index < (:start_row + :rows_per_page) order by search_score desc, title