Query time 0.00140
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "25.40"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"c_status",
"parent",
"id_path",
"p_category_id"
],
"key": "parent",
"used_key_parts": [
"parent_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 36,
"rows_produced_per_join": 0,
"filtered": "0.14",
"cost_info": {
"read_cost": "9.00",
"eval_cost": "0.01",
"prefix_cost": "12.60",
"data_read_per_join": "181"
},
"used_columns": [
"category_id",
"parent_id",
"id_path",
"company_id",
"usergroup_ids",
"status",
"position",
"age_verification",
"age_limit",
"is_trash",
"ab__lc_catalog_image_control",
"ab__fn_category_status",
"ab__fn_label_color",
"ab__fn_label_background",
"ab__fn_use_origin_image",
"storefront_id"
],
"attached_condition": "(((`s2cart`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`s2cart`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`s2cart`.`cscart_categories`.`usergroup_ids`))) and (`s2cart`.`cscart_categories`.`status` = 'A') and (`s2cart`.`cscart_categories`.`id_path` like '568/%') and (`s2cart`.`cscart_categories`.`category_id` <> 414) and (`s2cart`.`cscart_categories`.`storefront_id` in (0,3)))"
}
},
{
"table": {
"table_name": "cscart_category_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id",
"lang_code"
],
"key_length": "9",
"ref": [
"s2cart.cscart_categories.category_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.01",
"eval_cost": "0.01",
"prefix_cost": "12.62",
"data_read_per_join": "324"
},
"used_columns": [
"category_id",
"lang_code",
"category",
"age_warning_message",
"ab__custom_category_h1",
"ab__fn_label_text",
"ab__fn_label_show"
]
}
},
{
"table": {
"table_name": "cscart_seo_names",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"dispatch"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"type",
"dispatch",
"lang_code"
],
"key_length": "206",
"ref": [
"s2cart.cscart_categories.category_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 696,
"rows_produced_per_join": 34,
"filtered": "100.00",
"cost_info": {
"read_cost": "9.30",
"eval_cost": "3.48",
"prefix_cost": "25.40",
"data_read_per_join": "58K"
},
"used_columns": [
"name",
"object_id",
"type",
"dispatch",
"path",
"lang_code"
]
}
}
]
}
}
}
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 |
age_verification |
age_limit |
age_warning_message |
ab__custom_category_h1 |
569 |
568 |
568/569 |
Agriculture Implements |
0 |
A |
0 |
0 |
agriculture-implements |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
571 |
568 |
568/571 |
Artificial Grass |
0 |
A |
0 |
0 |
artificial-grass |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
572 |
568 |
568/572 |
Blowers |
0 |
A |
0 |
0 |
blowers |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
573 |
568 |
568/573 |
Brush Cutter and Accessories |
0 |
A |
0 |
0 |
brush-cutter-and-accessories |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
578 |
568 |
568/578 |
Chaff Cutter |
0 |
A |
0 |
0 |
chaff-cutter |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
579 |
568 |
568/579 |
Chain Saw |
0 |
A |
0 |
0 |
chain-saw |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
585 |
568 |
568/585 |
Earth Auger |
0 |
A |
0 |
0 |
earth-auger |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
586 |
568 |
568/586 |
Fogging Machine |
0 |
A |
0 |
0 |
fogging-machine |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
587 |
568 |
568/587 |
Garden Hand Tools |
0 |
A |
0 |
0 |
garden-hand-tools |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
603 |
568 |
568/603 |
Garden Hoe |
0 |
A |
0 |
0 |
garden-hoe |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
604 |
568 |
568/604 |
Harvester |
0 |
A |
0 |
0 |
harvester |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
605 |
568 |
568/605 |
Hedge Trimmer |
0 |
A |
0 |
0 |
hedge-trimmer |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
610 |
568 |
568/610 |
Horticulture Seeds |
0 |
A |
0 |
0 |
horticulture-seeds |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
611 |
568 |
568/611 |
Lawn Mower |
0 |
A |
0 |
0 |
lawn-mower |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
616 |
568 |
568/616 |
Maize Sheller |
0 |
A |
0 |
0 |
maize-sheller |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
617 |
568 |
568/617 |
Pest and Animal Repellant |
0 |
A |
0 |
0 |
pest-and-animal-repellant |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
618 |
568 |
568/618 |
Petrol Blower |
0 |
A |
0 |
0 |
petrol-blower |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
619 |
568 |
568/619 |
Seed Planter |
0 |
A |
0 |
0 |
seed-planter |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
620 |
568 |
568/620 |
Shredder |
0 |
A |
0 |
0 |
shredder |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
621 |
568 |
568/621 |
Sprayers |
0 |
A |
0 |
0 |
sprayers |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
628 |
568 |
568/628 |
Sprinklers |
0 |
A |
0 |
0 |
sprinklers |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
635 |
568 |
568/635 |
Stacking Pots |
0 |
A |
0 |
0 |
stacking-pots |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
636 |
568 |
568/636 |
Tillers and Cultivator |
0 |
A |
0 |
0 |
tillers-and-cultivator |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
640 |
568 |
568/640 |
Water Pump Sets |
0 |
A |
0 |
0 |
water-pump-sets |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
641 |
568 |
568/641 |
Watering Systems |
0 |
A |
0 |
0 |
watering-systems |
568 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|