Query time 0.00216
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "23.86"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"c_status",
"parent",
"id_path",
"p_category_id"
],
"key": "id_path",
"used_key_parts": [
"id_path"
],
"key_length": "767",
"rows_examined_per_scan": 24,
"rows_produced_per_join": 0,
"filtered": "0.21",
"index_condition": "(`s2cart`.`cscart_categories`.`id_path` like '418/%')",
"cost_info": {
"read_cost": "11.05",
"eval_cost": "0.01",
"prefix_cost": "11.06",
"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`.`parent_id` = 418) and ((`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`.`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.08",
"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": "23.86",
"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 |
419 |
418 |
418/419 |
Abrasive Belts for Sanders |
0 |
A |
0 |
0 |
abrasive-belts-for-sanders |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
444 |
418 |
418/444 |
Abrasive Chopsaw |
0 |
A |
0 |
0 |
abrasive-chopsaw |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
420 |
418 |
418/420 |
Abrasive Cloth Narrow Belts |
0 |
A |
0 |
0 |
abrasive-cloth-narrow-belts |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
445 |
418 |
418/445 |
Abrasive Cloth Rolls |
0 |
A |
0 |
0 |
abrasive-cloth-rolls |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
446 |
418 |
418/446 |
Abrasive Cloth Sheets |
0 |
A |
0 |
0 |
abrasive-cloth-sheets |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
447 |
418 |
418/447 |
Abrasive Depressed Center Discs |
0 |
A |
0 |
0 |
abrasive-depressed-center-discs |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
448 |
418 |
418/448 |
Abrasive Fibre Disc |
0 |
A |
0 |
0 |
abrasive-fibre-disc |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
449 |
418 |
418/449 |
Abrasive Flap Disc |
0 |
A |
0 |
0 |
abrasive-flap-disc |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
450 |
418 |
418/450 |
Abrasive Flap Wheels |
0 |
A |
0 |
0 |
abrasive-flap-wheels |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
451 |
418 |
418/451 |
Abrasive Non-Woven Discs |
0 |
A |
0 |
0 |
abrasive-non-woven-discs |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
452 |
418 |
418/452 |
Abrasive Non-Woven Hand Pads |
0 |
A |
0 |
0 |
abrasive-non-woven-hand-pads |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
453 |
418 |
418/453 |
Abrasive Non-Woven Unified Polishing Wheels |
0 |
A |
0 |
0 |
abrasive-non-woven-unified-polishing-wheels |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
454 |
418 |
418/454 |
Bench Wheels |
0 |
A |
0 |
0 |
bench-wheels |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
455 |
418 |
418/455 |
Brown Aluminium Oxide Wheels |
0 |
A |
0 |
0 |
brown-aluminium-oxide-wheels |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
456 |
418 |
418/456 |
Circular Saw Adda |
0 |
A |
0 |
0 |
circular-saw-adda |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
457 |
418 |
418/457 |
Control Wheels |
0 |
A |
0 |
0 |
control-wheels |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
458 |
418 |
418/458 |
Cut-Off Wheels |
0 |
A |
0 |
0 |
cut-off-wheels |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
459 |
418 |
418/459 |
Emery Paste |
0 |
A |
0 |
0 |
emery-paste |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
460 |
418 |
418/460 |
Flexible Grinding Discs |
0 |
A |
0 |
0 |
flexible-grinding-discs |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
461 |
418 |
418/461 |
Grinding Wheels |
0 |
A |
0 |
0 |
grinding-wheels |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
469 |
418 |
418/469 |
Mounted Points |
0 |
A |
0 |
0 |
mounted-points |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
470 |
418 |
418/470 |
Sand Paper Sheets |
0 |
A |
0 |
0 |
sand-paper-sheets |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
471 |
418 |
418/471 |
Saw Gumming / 'C' Face Wheels |
0 |
A |
0 |
0 |
saw-gumming-c-face-wheels |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
472 |
418 |
418/472 |
Sharpening Stones |
0 |
A |
0 |
0 |
sharpening-stones |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
473 |
418 |
418/473 |
Silicon Carbide Wheels |
0 |
A |
0 |
0 |
silicon-carbide-wheels |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
474 |
418 |
418/474 |
Single Point Diamond Dressers |
0 |
A |
0 |
0 |
single-point-diamond-dressers |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
475 |
418 |
418/475 |
Toolroom Wheels |
0 |
A |
0 |
0 |
toolroom-wheels |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
476 |
418 |
418/476 |
Wet/Dry Sheet |
0 |
A |
0 |
0 |
wet-dry-sheet |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
477 |
418 |
418/477 |
Wood and Marble Cutting Wheels |
0 |
A |
0 |
0 |
wood-and-marble-cutting-wheels |
418 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|