Query time 0.00102
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "24.31"
},
"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": 25,
"rows_produced_per_join": 0,
"filtered": "0.20",
"index_condition": "(`s2cart`.`cscart_categories`.`id_path` like '478/527/%')",
"cost_info": {
"read_cost": "11.50",
"eval_cost": "0.00",
"prefix_cost": "11.51",
"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` = 527) 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.00",
"prefix_cost": "11.53",
"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.31",
"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 |
539 |
527 |
478/527/539 |
Acrylic Tapes |
0 |
A |
0 |
0 |
acrylic-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
538 |
527 |
478/527/538 |
Adhesive Tape |
0 |
A |
0 |
0 |
adhesive-tape |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
536 |
527 |
478/527/536 |
Aluminium Tapes |
0 |
A |
0 |
0 |
aluminium-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
531 |
527 |
478/527/531 |
Anti Skid Tape |
0 |
A |
0 |
0 |
anti-skid-tape |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
529 |
527 |
478/527/529 |
Bonding Tape |
0 |
A |
0 |
0 |
bonding-tape |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
528 |
527 |
478/527/528 |
Caution Barricading Tapes |
0 |
A |
0 |
0 |
caution-barricading-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
530 |
527 |
478/527/530 |
Clear Tape |
0 |
A |
0 |
0 |
clear-tape |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
537 |
527 |
478/527/537 |
Cloth Tapes |
0 |
A |
0 |
0 |
cloth-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
540 |
527 |
478/527/540 |
Colour Tapes |
0 |
A |
0 |
0 |
colour-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
545 |
527 |
478/527/545 |
Copper Tapes |
0 |
A |
0 |
0 |
copper-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
548 |
527 |
478/527/548 |
Cross Filament Tape |
0 |
A |
0 |
0 |
cross-filament-tape |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
547 |
527 |
478/527/547 |
Double Side Foam Tape |
0 |
A |
0 |
0 |
double-side-foam-tape |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
544 |
527 |
478/527/544 |
Double Sided Cloth Tapes |
0 |
A |
0 |
0 |
double-sided-cloth-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
532 |
527 |
478/527/532 |
Duct Tapes |
0 |
A |
0 |
0 |
duct-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
543 |
527 |
478/527/543 |
Electrical Insulation Tapes |
0 |
A |
0 |
0 |
electrical-insulation-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
542 |
527 |
478/527/542 |
Foam Tapes |
0 |
A |
0 |
0 |
foam-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
549 |
527 |
478/527/549 |
Friction Tape |
0 |
A |
0 |
0 |
friction-tape |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
550 |
527 |
478/527/550 |
High Temperature Tape |
0 |
A |
0 |
0 |
high-temperature-tape |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
546 |
527 |
478/527/546 |
Kapton Polyimide Tapes |
0 |
A |
0 |
0 |
kapton-polyimide-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
541 |
527 |
478/527/541 |
Lane Marking Tapes |
0 |
A |
0 |
0 |
lane-marking-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
533 |
527 |
478/527/533 |
Masking Tapes |
0 |
A |
0 |
0 |
masking-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
551 |
527 |
478/527/551 |
Mica Insulated Tapes |
0 |
A |
0 |
0 |
mica-insulated-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
534 |
527 |
478/527/534 |
Mirror Mount Tape |
0 |
A |
0 |
0 |
mirror-mount-tape |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
535 |
527 |
478/527/535 |
Non Adhesive Tapes |
0 |
A |
0 |
0 |
non-adhesive-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
552 |
527 |
478/527/552 |
Packaging Tapes |
0 |
A |
0 |
0 |
packaging-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
557 |
527 |
478/527/557 |
Polyester Tape |
0 |
A |
0 |
0 |
polyester-tape |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
554 |
527 |
478/527/554 |
Pre-Printed Packaging Tapes |
0 |
A |
0 |
0 |
pre-printed-packaging-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
553 |
527 |
478/527/553 |
Radium Tape |
0 |
A |
0 |
0 |
radium-tape |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
555 |
527 |
478/527/555 |
Rayon Tape |
0 |
A |
0 |
0 |
rayon-tape |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
556 |
527 |
478/527/556 |
Reflective Tapes |
0 |
A |
0 |
0 |
reflective-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
559 |
527 |
478/527/559 |
Rubber Base Tape |
0 |
A |
0 |
0 |
rubber-base-tape |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
558 |
527 |
478/527/558 |
Self Amalgamating Tapes |
0 |
A |
0 |
0 |
self-amalgamating-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
562 |
527 |
478/527/562 |
Stretch Wrap Tapes |
0 |
A |
0 |
0 |
stretch-wrap-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
563 |
527 |
478/527/563 |
Tape Dispenser |
0 |
A |
0 |
0 |
tape-dispenser |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
560 |
527 |
478/527/560 |
Teflon Tapes |
0 |
A |
0 |
0 |
teflon-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
561 |
527 |
478/527/561 |
Tissue Tapes |
0 |
A |
0 |
0 |
tissue-tapes |
478/527 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|