Query time 0.00101
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.07507892,
"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": "ref",
"possible_keys": ["PRIMARY", "c_status", "parent", "p_category_id"],
"key": "parent",
"key_length": "3",
"used_key_parts": ["parent_id"],
"ref": ["const"],
"loops": 1,
"rows": 20,
"cost": 0.02479152,
"filtered": 100,
"index_condition": "cscart_categories.category_id <> 264",
"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": ["u508912950_dev_2025.cscart_categories.category_id", "const"],
"loops": 20,
"rows": 1,
"cost": 0.0244424,
"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": [
"u508912950_dev_2025.cscart_categories.category_id",
"const",
"const",
"const"
],
"loops": 20,
"rows": 1,
"cost": 0.025845,
"filtered": 100,
"attached_condition": "trigcond(cscart_seo_names.`type` = 'c' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'en')"
}
}
]
}
}
}
}
Result
| category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
storefront_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 |
mega_m_category_banner_url |
mega_m_category_svg_icon |
| 1716 |
0 |
1716 |
surf products |
0 |
A |
0 |
0 |
uncategorised |
|
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
|
| 1629 |
0 |
1629 |
Made in Malta |
10 |
A |
0 |
0 |
made-in-malta |
|
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
|
| 317 |
0 |
317 |
Men |
20 |
A |
0 |
0 |
men |
|
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
|
| 215 |
0 |
215 |
Women |
30 |
A |
0 |
0 |
women |
|
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
|
| 309 |
0 |
309 |
Kids |
40 |
A |
0 |
0 |
kids |
|
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
|
| 313 |
0 |
313 |
Beauty |
50 |
A |
0 |
0 |
beauty |
|
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
|
| 1617 |
0 |
1617 |
Accessories |
60 |
A |
0 |
0 |
accessories |
|
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
|
| 315 |
0 |
315 |
Home & Kitchen |
70 |
A |
0 |
0 |
home-and-kitchen |
|
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
|
| 241 |
0 |
241 |
Footwear & Bags |
80 |
A |
0 |
0 |
footwear-and-bags |
|
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
|
| 902 |
0 |
902 |
Home & Living |
90 |
A |
0 |
0 |
home-and-living |
|
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
|
| 925 |
0 |
925 |
Bags |
120 |
A |
0 |
0 |
bags |
|
none |
Y |
#ffffff |
#333333 |
N |
|
Y |
|
|
| 1644 |
0 |
1644 |
Furniture |
130 |
A |
0 |
0 |
furniture |
|
none |
N |
#ffffff |
#222222 |
N |
|
N |
|
|
| 1728 |
0 |
1728 |
BigBuy Products |
160 |
A |
0 |
0 |
bigbuy-products |
|
none |
N |
#ffffff |
#222222 |
N |
|
N |
|
|