Query time 0.00239
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_cp_blog_posts.`timestamp` desc, cscart_cp_blog_posts.post_id desc",
"temporary_table": {
"table": {
"table_name": "cscart_cp_blog_authors",
"access_type": "system",
"possible_keys": ["PRIMARY"],
"rows": 0,
"filtered": 0,
"const_row_not_found": true
},
"table": {
"table_name": "cscart_cp_blog_categories",
"access_type": "const",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"ref": ["const"],
"rows": 1,
"filtered": 100
},
"read_sorted_file": {
"filesort": {
"sort_key": "cscart_cp_blog_posts.post_id",
"table": {
"table_name": "cscart_cp_blog_posts",
"access_type": "ALL",
"possible_keys": ["PRIMARY", "status"],
"rows": 18,
"filtered": 94.44444275,
"attached_condition": "cscart_cp_blog_posts.`status` = 'A' and (cscart_cp_blog_posts.usergroup_ids = '' or find_in_set(0,cscart_cp_blog_posts.usergroup_ids) or find_in_set(1,cscart_cp_blog_posts.usergroup_ids)) and (cscart_cp_blog_posts.use_avail_period = 'N' or cscart_cp_blog_posts.use_avail_period = 'Y' and cscart_cp_blog_posts.avail_from_timestamp <= 1771291598 and cscart_cp_blog_posts.avail_till_timestamp >= 1771291598)"
}
}
},
"table": {
"table_name": "cscart_cp_blog_post_categories",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "6",
"used_key_parts": ["post_id", "category_id"],
"ref": ["noframes_kz_new.cscart_cp_blog_posts.post_id", "const"],
"rows": 1,
"filtered": 100
},
"table": {
"table_name": "cscart_cp_blog_post_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["post_id", "lang_code"],
"ref": ["noframes_kz_new.cscart_cp_blog_posts.post_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_cp_blog_post_descriptions.lang_code = 'ru')"
},
"subqueries": [
{
"expression_cache": {
"state": "uninitialized",
"query_block": {
"select_id": 2,
"table": {
"message": "No tables used"
}
}
}
}
]
}
}
}
}