Query time 0.00191
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "20.85"
},
"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": 23,
"rows_produced_per_join": 0,
"filtered": "0.22",
"cost_info": {
"read_cost": "5.75",
"eval_cost": "0.01",
"prefix_cost": "8.05",
"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 '644/%') 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": "8.07",
"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": "20.85",
"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 |
645 |
644 |
644/645 |
Auto Replacement |
0 |
A |
0 |
0 |
auto-replacement |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
664 |
644 |
644/664 |
Automobile Accessories |
0 |
A |
0 |
0 |
automobile-accessories |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
680 |
644 |
644/680 |
Automobile Electronics |
0 |
A |
0 |
0 |
automobile-electronics |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
685 |
644 |
644/685 |
Automobile Oil and Lubricants |
0 |
A |
0 |
0 |
automobile-oil-and-lubricants |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
695 |
644 |
644/695 |
Automobile Tubes |
0 |
A |
0 |
0 |
automobile-tubes |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
696 |
644 |
644/696 |
Automotive Bearings |
0 |
A |
0 |
0 |
automotive-bearings |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
697 |
644 |
644/697 |
Automotive Cleaning and Detailing |
0 |
A |
0 |
0 |
automotive-cleaning-and-detailing |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
701 |
644 |
644/701 |
Automotive Exterior |
0 |
A |
0 |
0 |
automotive-exterior |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
706 |
644 |
644/706 |
Automotive Interior |
0 |
A |
0 |
0 |
automotive-interior |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
713 |
644 |
644/713 |
Automotive Maintenance |
0 |
A |
0 |
0 |
automotive-maintenance |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
714 |
644 |
644/714 |
Car Ac Compressor |
0 |
A |
0 |
0 |
car-ac-compressor |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
715 |
644 |
644/715 |
Car and Bike Security System |
0 |
A |
0 |
0 |
car-and-bike-security-system |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
716 |
644 |
644/716 |
Car Care |
0 |
A |
0 |
0 |
car-care |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
717 |
644 |
644/717 |
Car Pressure Washers |
0 |
A |
0 |
0 |
car-pressure-washers |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
718 |
644 |
644/718 |
Car Vacuum Cleaners |
0 |
A |
0 |
0 |
car-vacuum-cleaners |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
719 |
644 |
644/719 |
Clutch Plate |
0 |
A |
0 |
0 |
clutch-plate |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
720 |
644 |
644/720 |
Engine Spares And Parts |
0 |
A |
0 |
0 |
engine-spares-and-parts |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
736 |
644 |
644/736 |
Gear Oils |
0 |
A |
0 |
0 |
gear-oils |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
737 |
644 |
644/737 |
Motorcycle Accessories |
0 |
A |
0 |
0 |
motorcycle-accessories |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
740 |
644 |
644/740 |
Motorcycle Engine |
0 |
A |
0 |
0 |
motorcycle-engine |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
743 |
644 |
644/743 |
Motorcycle Parts |
0 |
A |
0 |
0 |
motorcycle-parts |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
749 |
644 |
644/749 |
Tyres and Wheels |
0 |
A |
0 |
0 |
tyres-and-wheels |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
751 |
644 |
644/751 |
Vehicle Equipment |
0 |
A |
0 |
0 |
vehicle-equipment |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
752 |
644 |
644/752 |
Vehicle Tools |
0 |
A |
0 |
0 |
vehicle-tools |
644 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|