Query time 0.02077
JSON explain
{
"query_block": {
"select_id": 1,
"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",
"id_path",
"p_category_id"
],
"key": "parent",
"key_length": "3",
"used_key_parts": ["parent_id"],
"ref": ["const"],
"rows": 17,
"filtered": 0.599250913,
"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 '22491/22839/%' and cscart_categories.category_id <> 1 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": ["ebonza_cscart_test.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": [
"ebonza_cscart_test.cscart_categories.category_id",
"const",
"const",
"const"
],
"rows": 16,
"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 |
| 22849 |
22839 |
22491/22839/22849 |
Accessory Cases |
0 |
A |
0 |
1 |
handmade-accessory-cases |
22491/22839 |
| 22847 |
22839 |
22491/22839/22847 |
Backpacks |
0 |
A |
0 |
1 |
handmade-backpacks |
22491/22839 |
| 22856 |
22839 |
22491/22839/22856 |
Clothing & Shoe Bags |
0 |
A |
0 |
1 |
handmade-clothing-shoe-bags |
22491/22839 |
| 22846 |
22839 |
22491/22839/22846 |
Cosmetic & Toiletry Storage |
0 |
A |
0 |
1 |
handmade-cosmetic-toiletry-storage |
22491/22839 |
| 22855 |
22839 |
22491/22839/22855 |
Diaper Bags |
0 |
A |
0 |
1 |
handmade-diaper-bags |
22491/22839 |
| 22841 |
22839 |
22491/22839/22841 |
Electronics Cases |
0 |
A |
0 |
1 |
handmade-electronics-cases |
22491/22839 |
| 22850 |
22839 |
22491/22839/22850 |
Fanny Packs |
0 |
A |
0 |
1 |
handmade-fanny-packs |
22491/22839 |
| 22853 |
22839 |
22491/22839/22853 |
Food & Insulated Bags |
0 |
A |
0 |
1 |
handmade-food-insulated-bags |
22491/22839 |
| 22842 |
22839 |
22491/22839/22842 |
Handbags |
0 |
A |
0 |
1 |
handmade-handbags |
22491/22839 |
| 22840 |
22839 |
22491/22839/22840 |
Keychains & Lanyards |
0 |
A |
0 |
1 |
handmade-keychains-lanyards |
22491/22839 |
| 22848 |
22839 |
22491/22839/22848 |
Luggage & Travel |
0 |
A |
0 |
1 |
handmade-luggage-travel |
22491/22839 |
| 22851 |
22839 |
22491/22839/22851 |
Market Bags |
0 |
A |
0 |
1 |
handmade-market-bags |
22491/22839 |
| 22852 |
22839 |
22491/22839/22852 |
Messenger Bags |
0 |
A |
0 |
1 |
handmade-messenger-bags |
22491/22839 |
| 22845 |
22839 |
22491/22839/22845 |
Pouches & Coin Purses |
0 |
A |
0 |
1 |
handmade-pouches-coin-purses |
22491/22839 |
| 22854 |
22839 |
22491/22839/22854 |
Sports Bags |
0 |
A |
0 |
1 |
handmade-sports-bags |
22491/22839 |
| 22843 |
22839 |
22491/22839/22843 |
Totes |
0 |
A |
0 |
1 |
handmade-totes |
22491/22839 |
| 22844 |
22839 |
22491/22839/22844 |
Wallets & Money Clips |
0 |
A |
0 |
1 |
handmade-wallets-money-clips |
22491/22839 |