Query time 0.00110
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", "parent", "id_path"],
"key": "id_path",
"key_length": "767",
"used_key_parts": ["id_path"],
"rowid_filter": {
"range": {
"key": "parent",
"used_key_parts": ["parent_id"]
},
"rows": 18,
"selectivity_pct": 3.428571429
},
"rows": 15,
"filtered": 3.428571463,
"index_condition": "cscart_categories.id_path like '406/%'",
"attached_condition": "cscart_categories.parent_id = 406 and 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": ["lillyshop_lillyshop.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": "eq_ref",
"possible_keys": ["PRIMARY", "dispatch"],
"key": "PRIMARY",
"key_length": "210",
"used_key_parts": [
"object_id",
"type",
"dispatch",
"lang_code",
"company_id"
],
"ref": [
"lillyshop_lillyshop.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 = 'ru')"
}
}
]
}
}
}
}
Result
| category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
storefront_id |
seo_name |
seo_path |
ab__lc_catalog_image_control |
ab__fn_category_status |
ab__fn_label_color |
ab__fn_label_background |
ab__fn_use_origin_image |
ab__fn_label_text |
ab__fn_label_show |
ab__custom_category_h1 |
| 823 |
406 |
406/823 |
Альбом для слайдер-дизайна и пластин |
0 |
A |
1 |
1 |
albom-dlya-slayder-dizayna-i-plastin |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 433 |
406 |
406/433 |
Вензели, кружева |
0 |
A |
1 |
1 |
venzilya-kruzheva |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 510 |
406 |
406/510 |
Весна, цветы |
0 |
A |
1 |
1 |
vesna-cvety |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 506 |
406 |
406/506 |
Животные, бабочки, птицы, перья |
0 |
A |
1 |
1 |
zhivotnye-babochki-pticy-perya |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 407 |
406 |
406/407 |
Зима, Новый год |
0 |
A |
1 |
1 |
zima-novyy-god |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 598 |
406 |
406/598 |
Лето, море |
0 |
A |
1 |
1 |
leto-more |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 641 |
406 |
406/641 |
Любовь, сердца, день Св.Валентина |
0 |
A |
1 |
1 |
lyubov-serdechki-den-sv.valentina |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 507 |
406 |
406/507 |
Люди, лицо |
0 |
A |
1 |
1 |
lyudi-lica |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 432 |
406 |
406/432 |
Надписи |
0 |
A |
1 |
1 |
nadpisi |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 672 |
406 |
406/672 |
Наклейки для ногтей |
0 |
A |
1 |
1 |
nakleyki-dlya-nogtey |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 447 |
406 |
406/447 |
Осень, листья, веточки |
0 |
A |
1 |
1 |
osen-listya-vetochki |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 879 |
406 |
406/879 |
Патриотические, Слава Украины |
0 |
A |
1 |
1 |
patriotichni-slava-ukraini |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 431 |
406 |
406/431 |
Разное |
0 |
A |
1 |
1 |
raznoe |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 848 |
406 |
406/848 |
Слайдер дизайн SLIDIZ |
0 |
A |
1 |
1 |
slayder-dizayni-slidiz |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 647 |
406 |
406/647 |
Слайды 3D |
0 |
A |
1 |
1 |
slaydy-3d |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 892 |
406 |
406/892 |
Слайды распродажа |
0 |
A |
1 |
1 |
slaydi-rozprodazh |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 645 |
406 |
406/645 |
Фольгированный |
0 |
A |
1 |
1 |
folgirovannye |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 608 |
406 |
406/608 |
Френч, геометрия |
0 |
A |
1 |
1 |
geometriya-abstrakciya |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
| 570 |
406 |
406/570 |
Фрукты, ягоды |
0 |
A |
1 |
1 |
frukty-yagody |
406 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|