Query time 0.00172
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"],
"rows": 18,
"filtered": 11.26760578,
"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.id_path like '43/%' 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": "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 |
seo_name |
seo_path |
service_id |
service_title |
unit_size |
service_type_id |
product_template |
office_offer_template |
office_table_template |
44 |
43 |
43/44 |
Gold |
10 |
A |
0 |
0 |
gold |
43 |
8 |
Currency |
1.00 |
2 |
currency |
currency |
currency |
45 |
43 |
43/45 |
Raids |
20 |
A |
0 |
0 |
raids |
43 |
2 |
Boosts |
1.00 |
3 |
boost |
boost |
boost |
46 |
43 |
43/46 |
Dungeons |
30 |
A |
0 |
0 |
dungeons |
43 |
2 |
Boosts |
1.00 |
3 |
boost |
boost |
boost |
47 |
43 |
43/47 |
Upgrades |
40 |
A |
0 |
0 |
upgrades |
43 |
5 |
Items |
1.00 |
3 |
boost |
boost |
boost |
48 |
43 |
43/48 |
Equipment |
50 |
A |
0 |
0 |
equipment |
43 |
5 |
Items |
1.00 |
1 |
boost |
boost |
boost |
49 |
43 |
43/49 |
PvP |
60 |
A |
0 |
0 |
pvp |
43 |
2 |
Boosts |
1.00 |
3 |
boost |
boost |
boost |
50 |
43 |
43/50 |
Professions |
70 |
A |
0 |
0 |
professions |
43 |
2 |
Boosts |
1.00 |
3 |
boost |
boost |
boost |
51 |
43 |
43/51 |
Reputation |
80 |
A |
0 |
0 |
reputation |
43 |
2 |
Boosts |
1.00 |
3 |
boost |
boost |
boost |
52 |
43 |
43/52 |
Quests |
90 |
A |
0 |
0 |
quests |
43 |
2 |
Boosts |
1.00 |
3 |
boost |
boost |
boost |
53 |
43 |
43/53 |
Achievements |
100 |
A |
0 |
0 |
achievements |
43 |
2 |
Boosts |
1.00 |
3 |
boost |
boost |
boost |
54 |
43 |
43/54 |
Items |
110 |
A |
0 |
0 |
items |
43 |
5 |
Items |
1.00 |
1 |
boost |
boost |
boost |
55 |
43 |
43/55 |
Coaching |
120 |
A |
0 |
0 |
coaching |
43 |
3 |
Coaching |
1.00 |
3 |
boost |
boost |
boost |
56 |
43 |
43/56 |
Dragonflight Keys |
130 |
A |
0 |
0 |
dragonflight-keys |
43 |
1 |
Accounts |
1.00 |
1 |
boost |
boost |
boost |
57 |
43 |
43/57 |
Time Cards |
140 |
A |
0 |
0 |
time-cards |
43 |
1 |
Accounts |
1.00 |
1 |
boost |
boost |
boost |
58 |
43 |
43/58 |
Donation |
150 |
A |
0 |
0 |
donation |
43 |
1 |
Accounts |
1.00 |
1 |
boost |
boost |
boost |
59 |
43 |
43/59 |
Other |
160 |
A |
0 |
0 |
other |
43 |
2 |
Boosts |
1.00 |
3 |
boost |
boost |
boost |