Query time 0.00056
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_categories.is_trash, cscart_categories.position, cscart_category_descriptions.category",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "range",
"possible_keys": ["c_status", "id_path"],
"key": "id_path",
"key_length": "767",
"used_key_parts": ["id_path"],
"rows": 12,
"filtered": 100,
"index_condition": "cscart_categories.id_path like '203/%'",
"attached_condition": "cscart_categories.company_id = 1 and (cscart_categories.usergroup_ids = '' or find_in_set(0,cscart_categories.usergroup_ids) or find_in_set(1,cscart_categories.usergroup_ids)) and cscart_categories.`status` = 'A' and cscart_categories.storefront_id in (0,1)"
}
},
{
"table": {
"table_name": "cscart_category_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["category_id", "lang_code"],
"ref": ["cscart_4183_25.cscart_categories.category_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_category_descriptions.lang_code = 'en')"
}
},
{
"table": {
"table_name": "cscart_seo_names",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "dispatch"],
"key": "PRIMARY",
"key_length": "210",
"used_key_parts": [
"object_id",
"type",
"dispatch",
"lang_code",
"company_id"
],
"ref": [
"cscart_4183_25.cscart_categories.category_id",
"const",
"const",
"const",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_seo_names.`type` = 'c' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'en')"
}
}
]
}
}
}
}
Result
category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
storefront_id |
seo_name |
seo_path |
ab__lc_catalog_image_control |
216 |
215 |
203/215/216 |
Backpacks |
10 |
A |
1 |
1 |
backpacks |
203/215 |
none |
204 |
203 |
203/204 |
Bikes |
10 |
A |
1 |
1 |
bikes |
203 |
none |
210 |
204 |
203/204/210 |
Comfort & Cruisers |
10 |
A |
1 |
1 |
comfort-and-cruisers |
203/204 |
none |
212 |
211 |
203/211/212 |
Golf Clubs |
10 |
A |
1 |
1 |
golf-clubs |
203/211 |
none |
211 |
203 |
203/211 |
Golf |
20 |
A |
1 |
1 |
golf |
203 |
none |
213 |
211 |
203/211/213 |
Golf Balls |
20 |
A |
1 |
1 |
golf-balls |
203/211 |
none |
209 |
204 |
203/204/209 |
Road Bikes |
20 |
A |
1 |
1 |
road-bikes |
203/204 |
none |
217 |
215 |
203/215/217 |
Sleeping Bags |
20 |
A |
1 |
1 |
sleeping-bags |
203/215 |
none |
215 |
203 |
203/215 |
Camping |
30 |
A |
1 |
1 |
camping |
203 |
none |
214 |
211 |
203/211/214 |
Golf Bags & Carts |
30 |
A |
1 |
1 |
golf-bags-and-carts |
203/211 |
none |
208 |
204 |
203/204/208 |
Mountain Bikes |
30 |
A |
1 |
1 |
mountain-bikes |
203/204 |
none |
218 |
215 |
203/215/218 |
Tents |
30 |
A |
1 |
1 |
tents |
203/215 |
none |