Query time 0.00148
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": "ref",
"possible_keys": ["c_status", "parent", "id_path"],
"key": "parent",
"key_length": "3",
"used_key_parts": ["parent_id"],
"ref": ["const"],
"rowid_filter": {
"range": {
"key": "id_path",
"used_key_parts": ["id_path"]
},
"rows": 15,
"selectivity_pct": 5.976095618
},
"rows": 11,
"filtered": 5.976095676,
"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.id_path like '302/307/359/%'"
},
"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": ["noframes_kz_new.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": [
"noframes_kz_new.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 |
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 |
| 585 |
359 |
302/307/359/585 |
Desert |
1 |
A |
1 |
desert |
302/307/359 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 549 |
359 |
302/307/359/549 |
Primo |
1 |
A |
1 |
primo |
302/307/359 |
top |
N |
#ffffff |
#222222 |
N |
|
N |
| 362 |
359 |
302/307/359/362 |
Abitare |
3 |
A |
1 |
abitare |
302/307/359 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 360 |
359 |
302/307/359/360 |
Continent |
4 |
A |
1 |
continent |
302/307/359 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 365 |
359 |
302/307/359/365 |
Target |
7 |
A |
1 |
rogozhka-target |
302/307/359 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 367 |
359 |
302/307/359/367 |
Simmetrika |
8 |
A |
1 |
rogozhka-simmetrika |
302/307/359 |
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
| 594 |
359 |
302/307/359/594 |
Cos |
25 |
A |
1 |
cos |
302/307/359 |
none |
N |
#ffffff |
#222222 |
N |
|
N |
| 597 |
359 |
302/307/359/597 |
Aurora |
35 |
A |
1 |
aurora |
302/307/359 |
none |
N |
#ffffff |
#222222 |
N |
|
N |
| 600 |
359 |
302/307/359/600 |
Dune |
45 |
A |
1 |
dune |
302/307/359 |
none |
N |
#ffffff |
#222222 |
N |
|
N |
| 601 |
359 |
302/307/359/601 |
Pafos |
55 |
A |
1 |
pafos |
302/307/359 |
none |
N |
#ffffff |
#222222 |
N |
|
N |
| 602 |
359 |
302/307/359/602 |
Monochrome |
65 |
A |
1 |
monochrome |
302/307/359 |
none |
N |
#ffffff |
#222222 |
N |
|
N |
| 609 |
359 |
302/307/359/609 |
Эпоха |
75 |
A |
1 |
epoha |
302/307/359 |
none |
N |
#ffffff |
#222222 |
N |
|
N |