Query time 0.00080
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "ushop_categories.is_trash, ushop_categories.position, ushop_category_descriptions.category",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "ushop_categories",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"c_status",
"parent",
"id_path",
"p_category_id"
],
"key": "id_path",
"key_length": "767",
"used_key_parts": ["id_path"],
"rows": 1,
"filtered": 100,
"index_condition": "ushop_categories.id_path like '316/%'",
"attached_condition": "(ushop_categories.usergroup_ids = '' or find_in_set(0,ushop_categories.usergroup_ids) or find_in_set(1,ushop_categories.usergroup_ids)) and ushop_categories.`status` = 'A' and ushop_categories.category_id <> 264 and ushop_categories.parent_id <> 264 and ushop_categories.storefront_id in (0,1) and ushop_categories.category_type <> 'W'"
}
},
{
"table": {
"table_name": "ushop_category_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["category_id", "lang_code"],
"ref": ["ushop_shopping.ushop_categories.category_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(ushop_category_descriptions.lang_code = 'es')"
}
},
{
"table": {
"table_name": "ushop_seo_names",
"access_type": "ref",
"possible_keys": ["PRIMARY", "dispatch"],
"key": "PRIMARY",
"key_length": "206",
"used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
"ref": [
"ushop_shopping.ushop_categories.category_id",
"const",
"const",
"const"
],
"rows": 4,
"filtered": 100,
"attached_condition": "trigcond(ushop_seo_names.`type` = 'c' and ushop_seo_names.dispatch = '' and ushop_seo_names.lang_code = 'es')"
}
}
]
}
}
}
}