cStore acceleration
1. Add index for `query` field in table `url_alias`.
2. Dont't calculate number of products in categories if it does not need
to be displayed.
3. Use static datetime string in SQL queries instead of SQL NOW() to
enable MySQL query cache.
4. Use SQL_CALC_FOUND_ROWS to avoid heavy SQL query in
ModelCatalogProduct::getTotalProducts