Query time 0.00181
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", "p_category_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"rows": 16,
"filtered": 100,
"index_condition": "cscart_categories.category_id in (34,43,60,61,69,78,85,95,96,101,104,113,119,120,124,131)",
"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.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": ["dev.cscart_categories.category_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_category_descriptions.lang_code = 'en')"
},
"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": ["dev.cscart_categories.category_id", "const", "const", "const"],
"rows": 8,
"filtered": 100,
"attached_condition": "trigcond(cscart_seo_names.`type` = 'c' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'en')"
},
"table": {
"table_name": "srvc",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["category_id"],
"ref": ["dev.cscart_categories.category_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(srvc.category_id = cscart_categories.category_id)"
},
"table": {
"table_name": "srvd",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "10",
"used_key_parts": ["service_id", "lang_code"],
"ref": [
"dev.srvc.service_id",
"dev.cscart_category_descriptions.lang_code"
],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(trigcond(cscart_category_descriptions.lang_code is not null) and trigcond(srvc.service_id is not null))"
},
"table": {
"table_name": "cdroot4pcmain",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["category_id", "lang_code"],
"ref": ["func", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cdroot4pcmain.category_id = substring_index(cscart_categories.id_path,'/',1) and cdroot4pcmain.lang_code = 'en')"
},
"table": {
"table_name": "cat",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "p_category_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"ref": ["dev.cscart_category_descriptions.category_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(trigcond(cscart_category_descriptions.category_id is not null))"
}
}
}
}
}
Result
| category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
storefront_id |
product_count |
seo_name |
seo_path |
service_id |
service_title |
root_category |
root_category_title |
unit_size |
eitems_unit_suffix |
service_type_id |
product_template |
office_offer_template |
office_table_template |
eitems_deactivate_on_sale |
| 34 |
0 |
34 |
World of Warcraft Classic |
10 |
A |
0 |
0 |
0 |
world-of-warcraft-classic |
|
|
|
34 |
World of Warcraft Classic |
1.00 |
|
|
|
|
|
N |
| 43 |
0 |
43 |
World of Warcraft |
20 |
A |
0 |
0 |
0 |
world-of-warcraft |
|
|
|
43 |
World of Warcraft |
1.00 |
|
|
|
|
|
N |
| 60 |
0 |
60 |
World of Warcraft Mists of Pandaria Classic |
30 |
A |
0 |
0 |
0 |
world-of-warcraft-wotlk-classic |
|
|
|
60 |
World of Warcraft Mists of Pandaria Classic |
1.00 |
|
0 |
currency |
currency |
currency |
N |
| 61 |
0 |
61 |
New World |
40 |
A |
0 |
0 |
0 |
new-world |
|
|
|
61 |
New World |
1.00 |
|
|
|
|
|
N |
| 69 |
0 |
69 |
Path of Exile |
50 |
A |
0 |
0 |
0 |
path-of-exile |
|
|
|
69 |
Path of Exile |
1.00 |
|
|
|
|
|
N |
| 85 |
0 |
85 |
Destiny 2 |
70 |
A |
0 |
0 |
0 |
destiny-2 |
|
|
|
85 |
Destiny 2 |
1.00 |
|
|
|
|
|
N |
| 95 |
0 |
95 |
Diablo 4 |
80 |
A |
0 |
0 |
0 |
diablo-4 |
|
|
|
95 |
Diablo 4 |
1.00 |
|
2 |
currency |
currency |
currency |
N |
| 96 |
0 |
96 |
Lost Ark |
90 |
A |
0 |
0 |
0 |
lost-ark |
|
|
|
96 |
Lost Ark |
1.00 |
|
|
|
|
|
N |
| 101 |
0 |
101 |
Elyon |
100 |
A |
0 |
0 |
0 |
elyon |
|
|
|
101 |
Elyon |
1.00 |
|
|
|
|
|
N |
| 104 |
0 |
104 |
Elder Scrolls Online |
110 |
A |
0 |
0 |
0 |
elder-scrolls-online |
|
|
|
104 |
Elder Scrolls Online |
1.00 |
|
|
|
|
|
N |
| 113 |
0 |
113 |
Final Fantasy XIV |
120 |
A |
0 |
0 |
0 |
final-fantasy-xiv |
|
|
|
113 |
Final Fantasy XIV |
1.00 |
|
|
|
|
|
N |
| 119 |
0 |
119 |
Runescape |
130 |
A |
0 |
0 |
0 |
runescape |
|
|
|
119 |
Runescape |
1.00 |
|
|
|
|
|
N |
| 120 |
0 |
120 |
Old School RuneScape |
140 |
A |
0 |
0 |
0 |
old-school-runescape |
|
|
|
120 |
Old School RuneScape |
1.00 |
|
|
|
|
|
N |
| 124 |
0 |
124 |
Albion Online |
150 |
A |
0 |
0 |
0 |
albion-online |
|
|
|
124 |
Albion Online |
1.00 |
|
|
|
|
|
N |
| 131 |
0 |
131 |
ArcheAge Unchained |
160 |
A |
0 |
0 |
0 |
archeage-unchained |
|
|
|
131 |
ArcheAge Unchained |
1.00 |
|
|
|
|
|
N |
| 78 |
0 |
78 |
Apex Legends |
170 |
A |
0 |
0 |
0 |
apex-legends |
|
|
|
78 |
Apex Legends |
1.00 |
|
|
|
|
|
N |