Query time 0.00243
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "24.70"
},
"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": 34,
"rows_produced_per_join": 0,
"filtered": "0.15",
"cost_info": {
"read_cost": "8.50",
"eval_cost": "0.01",
"prefix_cost": "11.90",
"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/%') 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": "11.92",
"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.70",
"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 |
1193 |
1192 |
1192/1193 |
Allen Key and Torx Key |
0 |
A |
0 |
0 |
allen-key-and-torx-key |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1197 |
1192 |
1192/1197 |
Chisels |
0 |
A |
0 |
0 |
chisels |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1198 |
1192 |
1192/1198 |
Clamping and Positioning |
0 |
A |
0 |
0 |
clamping-and-positioning |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1278 |
1192 |
1192/1278 |
Cold Chisels |
0 |
A |
0 |
0 |
cold-chisels |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1279 |
1192 |
1192/1279 |
Crimping Tools and Pliers |
0 |
A |
0 |
0 |
crimping-tools-and-pliers |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1283 |
1192 |
1192/1283 |
Cutting Tools |
0 |
A |
0 |
0 |
cutting-tools |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1310 |
1192 |
1192/1310 |
Glue Gun |
0 |
A |
0 |
0 |
glue-gun |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1309 |
1192 |
1192/1309 |
Glue Gun Accessories |
0 |
A |
0 |
0 |
glue-gun-accessories |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1311 |
1192 |
1192/1311 |
Grainger Approved Hand Tools |
0 |
A |
0 |
0 |
grainger-approved-hand-tools |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1312 |
1192 |
1192/1312 |
Grease Gun |
0 |
A |
0 |
0 |
grease-gun |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1313 |
1192 |
1192/1313 |
Hammer and Hand Tackers |
0 |
A |
0 |
0 |
hammer-and-hand-tackers |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1314 |
1192 |
1192/1314 |
Hammers |
0 |
A |
0 |
0 |
hammers |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1325 |
1192 |
1192/1325 |
Hand Drill |
0 |
A |
0 |
0 |
hand-drill |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1326 |
1192 |
1192/1326 |
Hand Operated Machines |
0 |
A |
0 |
0 |
hand-operated-machines |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1327 |
1192 |
1192/1327 |
Hand sander |
0 |
A |
0 |
0 |
hand-sander |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1328 |
1192 |
1192/1328 |
Handles Joints and Bars |
0 |
A |
0 |
0 |
handles-joints-and-bars |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1334 |
1192 |
1192/1334 |
Hydraulic Bottle Jack |
0 |
A |
0 |
0 |
hydraulic-bottle-jack |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1388 |
1192 |
1192/1388 |
Magnetic Products |
0 |
A |
0 |
0 |
magnetic-products |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1403 |
1192 |
1192/1403 |
Non Sparking Tools |
0 |
A |
0 |
0 |
non-sparking-tools |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1415 |
1192 |
1192/1415 |
Pincers |
0 |
A |
0 |
0 |
pincers |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1416 |
1192 |
1192/1416 |
Pipe Bending Machine |
0 |
A |
0 |
0 |
pipe-bending-machine |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1417 |
1192 |
1192/1417 |
Pliers |
0 |
A |
0 |
0 |
pliers |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1441 |
1192 |
1192/1441 |
Puller and Scrapper |
0 |
A |
0 |
0 |
puller-and-scrapper |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1446 |
1192 |
1192/1446 |
Punches |
0 |
A |
0 |
0 |
punches |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1447 |
1192 |
1192/1447 |
Ratchet Pipe Threader |
0 |
A |
0 |
0 |
ratchet-pipe-threader |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1448 |
1192 |
1192/1448 |
Riveter |
0 |
A |
0 |
0 |
riveter |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1449 |
1192 |
1192/1449 |
Saws |
0 |
A |
0 |
0 |
saws |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1450 |
1192 |
1192/1450 |
Screwdriver and Nut Driver |
0 |
A |
0 |
0 |
screwdriver-and-nut-driver |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1454 |
1192 |
1192/1454 |
Screwdriver Bits |
0 |
A |
0 |
0 |
screwdriver-bits |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1455 |
1192 |
1192/1455 |
Socket Sets and Accessories |
0 |
A |
0 |
0 |
socket-sets-and-accessories |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1459 |
1192 |
1192/1459 |
Spanners |
0 |
A |
0 |
0 |
spanners |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1479 |
1192 |
1192/1479 |
Tool Kits Sets and Storage |
0 |
A |
0 |
0 |
tool-kits-sets-and-storage |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1492 |
1192 |
1192/1492 |
Tool Set |
0 |
A |
0 |
0 |
tool-set |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1493 |
1192 |
1192/1493 |
Tool Storage and Organizer |
0 |
A |
0 |
0 |
tool-storage-and-organizer |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1498 |
1192 |
1192/1498 |
Tweezers |
0 |
A |
0 |
0 |
tweezers |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1501 |
1192 |
1192/1501 |
Wrenches |
0 |
A |
0 |
0 |
wrenches |
1192 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|