Query time 0.00125
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "24.00"
},
"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": 32,
"rows_produced_per_join": 0,
"filtered": "0.16",
"cost_info": {
"read_cost": "8.00",
"eval_cost": "0.01",
"prefix_cost": "11.20",
"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 '1192/1198/%') and (`s2cart`.`cscart_categories`.`category_id` <> 414) and (`s2cart`.`cscart_categories`.`storefront_id` in (0,1)))"
}
},
{
"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": "11.22",
"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": "24.00",
"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 |
1204 |
1198 |
1192/1198/1204 |
Adjustable and Steel Parallel Set |
0 |
A |
0 |
0 |
adjustable-and-steel-parallel-set |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1202 |
1198 |
1192/1198/1202 |
Adjustable Parallels (Pair) |
0 |
A |
0 |
0 |
adjustable-parallels-pair |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1201 |
1198 |
1192/1198/1201 |
Angle Plates |
0 |
A |
0 |
0 |
angle-plates |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1203 |
1198 |
1192/1198/1203 |
Benches |
0 |
A |
0 |
0 |
benches |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1199 |
1198 |
1192/1198/1199 |
Blocks |
0 |
A |
0 |
0 |
blocks |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1212 |
1198 |
1192/1198/1212 |
Clamping Kit |
0 |
A |
0 |
0 |
clamping-kit |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1213 |
1198 |
1192/1198/1213 |
Clamping Lever |
0 |
A |
0 |
0 |
clamping-lever |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1208 |
1198 |
1192/1198/1208 |
Clamping Nuts Studs and Wrenches |
0 |
A |
0 |
0 |
clamping-nuts-studs-and-wrenches |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1223 |
1198 |
1192/1198/1223 |
Clamping Pads |
0 |
A |
0 |
0 |
clamping-pads |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1222 |
1198 |
1192/1198/1222 |
Clamping T-Bolts |
0 |
A |
0 |
0 |
clamping-t-bolts |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1214 |
1198 |
1192/1198/1214 |
Clamps |
0 |
A |
0 |
0 |
clamps |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1244 |
1198 |
1192/1198/1244 |
Collet and milling fixtures |
0 |
A |
0 |
0 |
collet-and-milling-fixtures |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1259 |
1198 |
1192/1198/1259 |
Drill / Bore Rapid Jig |
0 |
A |
0 |
0 |
drill-bore-rapid-jig |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1245 |
1198 |
1192/1198/1245 |
Flaring Tool Sets |
0 |
A |
0 |
0 |
flaring-tool-sets |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1246 |
1198 |
1192/1198/1246 |
Flaring Tools |
0 |
A |
0 |
0 |
flaring-tools |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1249 |
1198 |
1192/1198/1249 |
Height Blocks |
0 |
A |
0 |
0 |
height-blocks |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1248 |
1198 |
1192/1198/1248 |
Height Plates |
0 |
A |
0 |
0 |
height-plates |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1247 |
1198 |
1192/1198/1247 |
Indexing Devices |
0 |
A |
0 |
0 |
indexing-devices |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1250 |
1198 |
1192/1198/1250 |
Leveling Jack |
0 |
A |
0 |
0 |
leveling-jack |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1251 |
1198 |
1192/1198/1251 |
Magnetic Adaptor Plates |
0 |
A |
0 |
0 |
magnetic-adaptor-plates |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1254 |
1198 |
1192/1198/1254 |
Magnetic Angle Setters |
0 |
A |
0 |
0 |
magnetic-angle-setters |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1252 |
1198 |
1192/1198/1252 |
Magnetic Right Angle Setting Devices (Pair) |
0 |
A |
0 |
0 |
magnetic-right-angle-setting-devices-pair |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1253 |
1198 |
1192/1198/1253 |
Magnetic Tool Holder |
0 |
A |
0 |
0 |
magnetic-tool-holder |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1256 |
1198 |
1192/1198/1256 |
Spindle Assembly |
0 |
A |
0 |
0 |
spindle-assembly |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1258 |
1198 |
1192/1198/1258 |
Steel Parallels (Pair) |
0 |
A |
0 |
0 |
steel-parallels-pair |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1257 |
1198 |
1192/1198/1257 |
Step Blocks |
0 |
A |
0 |
0 |
step-blocks |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1255 |
1198 |
1192/1198/1255 |
Tables |
0 |
A |
0 |
0 |
tables |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1261 |
1198 |
1192/1198/1261 |
Threaded Support Bolt |
0 |
A |
0 |
0 |
threaded-support-bolt |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1260 |
1198 |
1192/1198/1260 |
Tool Holders |
0 |
A |
0 |
0 |
tool-holders |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1264 |
1198 |
1192/1198/1264 |
Tyre Lever |
0 |
A |
0 |
0 |
tyre-lever |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1265 |
1198 |
1192/1198/1265 |
Vibration Machine |
0 |
A |
0 |
0 |
vibration-machine |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1262 |
1198 |
1192/1198/1262 |
Vices |
0 |
A |
0 |
0 |
vices |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1277 |
1198 |
1192/1198/1277 |
Washers |
0 |
A |
0 |
0 |
washers |
1192/1198 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|