Query time 0.00125
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_categories.is_trash, cscart_categories.position, cscart_category_descriptions.category",
"temporary_table": {
"table": {
"table_name": "cscart_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": 10,
"filtered": 100,
"index_condition": "cscart_categories.id_path like '1273/%'",
"attached_condition": "(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.category_id <> 265 and cscart_categories.parent_id <> 265 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": ["admin_test.cscart_categories.category_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_category_descriptions.lang_code = 'ru')"
},
"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": [
"admin_test.cscart_categories.category_id",
"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 = 'ru')"
}
}
}
}
}
Result
category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
storefront_id |
seo_name |
seo_path |
ab__lc_catalog_image_control |
1277 |
1276 |
1273/1276/1277 |
LED Лампа |
0 |
A |
0 |
0 |
led-lampa |
1273/1276 |
none |
1278 |
1276 |
1273/1276/1278 |
Кольцевая лампа |
0 |
A |
0 |
0 |
kolcevaya-lampa |
1273/1276 |
none |
1279 |
1276 |
1273/1276/1279 |
Прочее |
0 |
A |
0 |
0 |
prochee |
1273/1276 |
none |
1283 |
1282 |
1273/1282/1283 |
Фотоаппараты без печати |
0 |
A |
0 |
0 |
fotoapparaty-bez-pechati |
1273/1282 |
none |
1284 |
1282 |
1273/1282/1284 |
Фотоаппараты с печатью |
0 |
A |
0 |
0 |
fotoapparaty-s-pechatyu |
1273/1282 |
none |
1274 |
1273 |
1273/1274 |
Камеры |
10 |
A |
0 |
0 |
kamery |
1273 |
none |
1280 |
1273 |
1273/1280 |
Принтеры |
20 |
A |
0 |
0 |
printery |
1273 |
none |
1285 |
1273 |
1273/1285 |
Штативы |
30 |
A |
0 |
0 |
shtativy |
1273 |
none |
1276 |
1273 |
1273/1276 |
Освещение |
40 |
A |
0 |
0 |
osveschenie |
1273 |
none |
1282 |
1273 |
1273/1282 |
Фотоаппарат |
50 |
A |
0 |
0 |
fotoapparat |
1273 |
none |
1281 |
1273 |
1273/1281 |
Стабилизаторы |
60 |
A |
0 |
0 |
stabilizatory |
1273 |
none |
1275 |
1273 |
1273/1275 |
Моноподы / Селфи палки |
70 |
A |
0 |
0 |
monopody-selfi-palki |
1273 |
none |