Sometimes the COUNT statement may take much more time than the SELECT statement with LIMIT 10. I am wondering if it is possible to avoid the COUNT statement. Not displaying the total number of records is okay. For the pager, showing only "next" and "previous" link is okay.