Query time 0.00302
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": ["PRIMARY", "c_status", "p_category_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"rows": 6,
"filtered": 100,
"index_condition": "cscart_categories.category_id in (1173,1174,1176,1177,1178,1179)",
"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": ["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 |
product_count |
seo_name |
seo_path |
ab__lc_catalog_image_control |
ab__custom_category_h1 |
| 1173 |
1172 |
502/1172/1173 |
Бази для нігтів DA_23 |
0 |
A |
1 |
1 |
15 |
bazi-dlya-nigtiv-da23-ru |
502/1172 |
none |
|
| 1178 |
1175 |
484/1175/1178 |
Гелі для нігтів DA_23 Builder gel |
0 |
A |
1 |
1 |
11 |
geli-dlya-nigtiv-da23-builder-gel |
484/1175 |
none |
|
| 1177 |
1175 |
484/1175/1177 |
Гелі для нігтів DA_23 Light gel |
0 |
A |
1 |
1 |
40 |
geli-dlya-nigtiv-da23-light-gel |
484/1175 |
none |
|
| 1176 |
1175 |
484/1175/1176 |
Гелі желе для нігтів DA_23 |
0 |
A |
1 |
1 |
7 |
geli-zhele-dlya-nigtiv-da23-ru |
484/1175 |
none |
|
| 1179 |
387 |
387/1179 |
Гель-лаки для ногтей DA_23 |
0 |
A |
1 |
1 |
25 |
gel-laki-dlya-nigtiv-da23-ru |
387 |
none |
|
| 1174 |
1172 |
502/1172/1174 |
Топи для нігтів DA_23 |
0 |
A |
1 |
1 |
1 |
topi-dlya-nigtiv-da23-ru |
502/1172 |
none |
|