Query time 0.00145
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_pages.position, cscart_pages.parent_id, cscart_page_descriptions.`page`",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "cscart_pages",
"access_type": "range",
"possible_keys": ["id_path"],
"key": "id_path",
"key_length": "767",
"used_key_parts": ["id_path"],
"rows": 1,
"filtered": 100,
"index_condition": "cscart_pages.id_path like '47/%'",
"attached_condition": "cscart_pages.`status` = 'A' and cscart_pages.page_type in ('T','L','F') and (cscart_pages.usergroup_ids = '' or find_in_set(0,cscart_pages.usergroup_ids) or find_in_set(1,cscart_pages.usergroup_ids)) and (cscart_pages.use_avail_period = 'N' or cscart_pages.use_avail_period = 'Y' and cscart_pages.avail_from_timestamp <= 1738921496 and (cscart_pages.avail_till_timestamp >= 1738921496 or cscart_pages.avail_till_timestamp = 0))"
}
},
{
"table": {
"table_name": "cscart_page_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["page_id", "lang_code"],
"ref": ["dev_db.cscart_pages.page_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_page_descriptions.lang_code = 'vi')"
}
},
{
"table": {
"table_name": "cscart_seo_names",
"access_type": "ref",
"possible_keys": ["PRIMARY", "dispatch"],
"key": "PRIMARY",
"key_length": "206",
"used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
"ref": ["dev_db.cscart_pages.page_id", "const", "const", "const"],
"rows": 130,
"filtered": 100,
"attached_condition": "trigcond(cscart_seo_names.`type` = 'a' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'vi')"
}
}
]
}
}
}
}