Query time 0.00429
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": 19,
"selectivity_pct": 8.755760369
},
"rows": 15,
"filtered": 8.755760193,
"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 '265/280/291/%' 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": ["noframes_angrybeaver.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_angrybeaver.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 |
| 1618 |
291 |
265/280/291/1618 |
Matisse |
0 |
A |
1 |
1 |
matisse |
265/280/291 |
| 1684 |
291 |
265/280/291/1684 |
Akcent |
0 |
A |
1 |
1 |
akcent |
265/280/291 |
| 1663 |
291 |
265/280/291/1663 |
Del Vento |
0 |
A |
1 |
1 |
del-vento |
265/280/291 |
| 1647 |
291 |
265/280/291/1647 |
Devotion |
0 |
A |
1 |
1 |
devotion |
265/280/291 |
| 1682 |
291 |
265/280/291/1682 |
Divo |
0 |
A |
1 |
1 |
divo |
265/280/291 |
| 1672 |
291 |
265/280/291/1672 |
Empire |
0 |
A |
1 |
1 |
empire |
265/280/291 |
| 1662 |
291 |
265/280/291/1662 |
Flame |
0 |
A |
1 |
1 |
flame |
265/280/291 |
| 1644 |
291 |
265/280/291/1644 |
Flashback |
0 |
A |
1 |
1 |
flashback |
265/280/291 |
| 1671 |
291 |
265/280/291/1671 |
For rest |
0 |
A |
1 |
1 |
for-rest |
265/280/291 |
| 1652 |
291 |
265/280/291/1652 |
Impulse |
0 |
A |
1 |
1 |
impulse |
265/280/291 |
| 1650 |
291 |
265/280/291/1650 |
Inspiration |
0 |
A |
1 |
1 |
inspiration |
265/280/291 |
| 1683 |
291 |
265/280/291/1683 |
Les |
0 |
A |
1 |
1 |
les |
265/280/291 |
| 1660 |
291 |
265/280/291/1660 |
Persona |
0 |
A |
1 |
1 |
persona |
265/280/291 |
| 1655 |
291 |
265/280/291/1655 |
Respect |
0 |
A |
1 |
1 |
respect |
265/280/291 |
| 1654 |
291 |
265/280/291/1654 |
Respect patchwork |
0 |
A |
1 |
1 |
respect-patchwork |
265/280/291 |
| 1680 |
291 |
265/280/291/1680 |
Ribbon |
0 |
A |
1 |
1 |
ribbon |
265/280/291 |
| 1645 |
291 |
265/280/291/1645 |
Salon |
0 |
A |
1 |
1 |
salon |
265/280/291 |
| 1679 |
291 |
265/280/291/1679 |
Vista |
0 |
A |
1 |
1 |
vista |
265/280/291 |
| 313 |
291 |
265/280/291/313 |
Фантастика |
0 |
A |
1 |
1 |
fantastika |
265/280/291 |