Query time 0.00056
JSON explain
{
"query_block": {
"select_id": 1,
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"rows": 17,
"filtered": 100,
"attached_condition": "b.post_id = 17",
"materialized": {
"query_block": {
"select_id": 2,
"table": {
"table_name": "<derived3>",
"access_type": "ALL",
"rows": 17,
"filtered": 100,
"materialized": {
"query_block": {
"select_id": 3,
"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
},
"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 <= 1771127366 and cscart_cp_blog_posts.avail_till_timestamp >= 1771127366)"
},
"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,
"using_index": true
}
}
}
}
}
}
}
}
}
}
}