Query time 0.00218
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "23.30"
},
"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": 30,
"rows_produced_per_join": 0,
"filtered": "0.17",
"cost_info": {
"read_cost": "7.50",
"eval_cost": "0.01",
"prefix_cost": "10.50",
"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 '1982/%') 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": "10.52",
"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.30",
"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 |
2086 |
1982 |
1982/2086 |
Hoists and Trolleys |
0 |
A |
0 |
0 |
hoists-and-trolleys |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2117 |
1982 |
1982/2117 |
Hydraulic Trolley Jacks |
2 |
A |
0 |
0 |
hydraulic-trolley-jacks |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2218 |
1982 |
1982/2218 |
Pallet Trucks |
3 |
A |
0 |
0 |
pallet-trucks |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2137 |
1982 |
1982/2137 |
Magnetic Lifters and Pullers |
4 |
A |
0 |
0 |
magnetic-lifters-and-pullers |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2260 |
1982 |
1982/2260 |
Pulling and Lifting Machine |
5 |
A |
0 |
0 |
pulling-and-lifting-machine |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2273 |
1982 |
1982/2273 |
Scissor Lifting Table |
7 |
A |
0 |
0 |
scissor-lifting-table |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2256 |
1982 |
1982/2256 |
Plastic Crates |
8 |
A |
0 |
0 |
plastic-crates |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2258 |
1982 |
1982/2258 |
Protective Packaging Products |
9 |
A |
0 |
0 |
protective-packaging-products |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2002 |
1982 |
1982/2002 |
Chain and Chain Accessories |
10 |
A |
0 |
0 |
chain-and-chain-accessories |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2257 |
1982 |
1982/2257 |
Platform Trolley |
10 |
A |
0 |
0 |
platform-trolley |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2342 |
1982 |
1982/2342 |
Wheel Barrows |
10 |
A |
0 |
0 |
wheel-barrows |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1983 |
1982 |
1982/1983 |
Bin |
11 |
A |
0 |
0 |
bin |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2005 |
1982 |
1982/2005 |
Chain Pulley Blocks and Accessories |
11 |
A |
0 |
0 |
chain-pulley-blocks-and-accessories |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2118 |
1982 |
1982/2118 |
Ice Box |
11 |
A |
0 |
0 |
ice-box |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2015 |
1982 |
1982/2015 |
Couplings |
12 |
A |
0 |
0 |
couplings |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2276 |
1982 |
1982/2276 |
Shopping Cart |
13 |
A |
0 |
0 |
shopping-cart |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2300 |
1982 |
1982/2300 |
Steel Rack |
13 |
A |
0 |
0 |
steel-rack |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1994 |
1982 |
1982/1994 |
Cable Tray |
14 |
A |
0 |
0 |
cable-tray |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2143 |
1982 |
1982/2143 |
Material Handling Accessories |
14 |
A |
0 |
0 |
material-handling-accessories |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2261 |
1982 |
1982/2261 |
Ratchet Cargo Lashing |
14 |
A |
0 |
0 |
ratchet-cargo-lashing |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2294 |
1982 |
1982/2294 |
Stand and Racks |
14 |
A |
0 |
0 |
stand-and-racks |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2072 |
1982 |
1982/2072 |
Hand Truck |
15 |
A |
0 |
0 |
hand-truck |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
3551 |
1982 |
1982/3551 |
Lifting Clamp |
15 |
A |
0 |
0 |
lifting-clamp |
1982 |
none |
N |
#ffffff |
#222222 |
N |
|
N |
N |
0 |
|
|
2278 |
1982 |
1982/2278 |
Slings |
15 |
A |
0 |
0 |
slings |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2129 |
1982 |
1982/2129 |
Ladder |
16 |
A |
0 |
0 |
ladder |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2269 |
1982 |
1982/2269 |
Rope and rope accessories |
16 |
A |
0 |
0 |
rope-and-rope-accessories |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2315 |
1982 |
1982/2315 |
Tanks and Buckets |
16 |
A |
0 |
0 |
tanks-and-buckets |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
1995 |
1982 |
1982/1995 |
Casters and Wheels |
17 |
A |
0 |
0 |
casters-and-wheels |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2136 |
1982 |
1982/2136 |
Lockers and File Cabinets |
17 |
A |
0 |
0 |
lockers-and-file-cabinets |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2290 |
1982 |
1982/2290 |
Stackers |
17 |
A |
0 |
0 |
stackers |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2320 |
1982 |
1982/2320 |
Tokari |
19 |
A |
0 |
0 |
tokari |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|
2343 |
1982 |
1982/2343 |
Wire Ropes (FMC and IWRC) |
20 |
A |
0 |
0 |
wire-ropes-fmc-and-iwrc |
1982 |
none |
Y |
#ffffff |
#333333 |
N |
|
N |
N |
0 |
|
|