Query time 0.00399
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "93.68"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "range",
"possible_keys": [
"c_status",
"id_path"
],
"key": "id_path",
"used_key_parts": [
"id_path"
],
"key_length": "767",
"rows_examined_per_scan": 64,
"rows_produced_per_join": 1,
"filtered": "2.00",
"index_condition": "(`webmarco`.`cscart_categories`.`id_path` like '6473/7769/%')",
"cost_info": {
"read_cost": "90.35",
"eval_cost": "0.26",
"prefix_cost": "90.61",
"data_read_per_join": "7K"
},
"used_columns": [
"category_id",
"parent_id",
"id_path",
"company_id",
"usergroup_ids",
"status",
"product_count",
"position",
"is_trash",
"storefront_id"
],
"attached_condition": "(((`webmarco`.`cscart_categories`.`usergroup_ids` = '') or find_in_set(0,`webmarco`.`cscart_categories`.`usergroup_ids`) or find_in_set(1,`webmarco`.`cscart_categories`.`usergroup_ids`)) and (`webmarco`.`cscart_categories`.`status` = 'A') and (`webmarco`.`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": [
"webmarco.cscart_categories.category_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.28",
"eval_cost": "0.26",
"prefix_cost": "92.15",
"data_read_per_join": "5K"
},
"used_columns": [
"category_id",
"lang_code",
"category"
]
}
},
{
"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": [
"webmarco.cscart_categories.category_id",
"const",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.28",
"eval_cost": "0.26",
"prefix_cost": "93.68",
"data_read_per_join": "2K"
},
"used_columns": [
"name",
"object_id",
"company_id",
"type",
"dispatch",
"path",
"lang_code"
]
}
}
]
}
}
}
Result
category_id |
parent_id |
id_path |
category |
position |
status |
company_id |
storefront_id |
product_count |
seo_name |
seo_path |
7857 |
7769 |
6473/7769/7857 |
Abrasive Blaster Accessories |
10 |
A |
0 |
0 |
0 |
abrasive-blaster-accessories-en |
6473/7769 |
7997 |
7864 |
6473/7769/7864/7997 |
Air Hammer Accessories |
10 |
A |
0 |
0 |
0 |
air-hammer-accessories-en |
6473/7769/7864 |
8049 |
7871 |
6473/7769/7871/8049 |
Airbrush Accessories |
10 |
A |
0 |
0 |
0 |
airbrush-accessories-en |
6473/7769/7871 |
7946 |
7858 |
6473/7769/7858/7946 |
Axe Handles |
10 |
A |
0 |
0 |
0 |
axe-handles-en |
6473/7769/7858 |
8090 |
7876 |
6473/7769/7876/8090 |
Band Saw Accessories |
10 |
A |
0 |
0 |
0 |
band-saw-accessories-en |
6473/7769/7876 |
8156 |
7878 |
6473/7769/7878/8156 |
Cutter & Scraper Blades |
10 |
A |
0 |
0 |
0 |
cutter-and-scraper-blades-en |
6473/7769/7878 |
7976 |
7860 |
6473/7769/7860/7976 |
Drill & Screwdriver Bits |
10 |
A |
0 |
0 |
0 |
drill-and-screwdriver-bits-en |
6473/7769/7860 |
8031 |
7869 |
6473/7769/7869/8031 |
Electrical Testing Tool Accessories |
10 |
A |
0 |
0 |
0 |
electrical-testing-tool-accessories-en |
6473/7769/7869 |
7990 |
7863 |
6473/7769/7863/7990 |
Grinding Wheels & Points |
10 |
A |
0 |
0 |
0 |
grinding-wheels-and-points-en |
6473/7769/7863 |
8015 |
7868 |
6473/7769/7868/8015 |
Mattock & Pickaxe Handles |
10 |
A |
0 |
0 |
0 |
mattock-and-pickaxe-handles-en |
6473/7769/7868 |
7959 |
7859 |
6473/7769/7859/7959 |
Nibbler Dies |
10 |
A |
0 |
0 |
0 |
nibbler-dies-en |
6473/7769/7859 |
8064 |
7874 |
6473/7769/7874/8064 |
Router Bits |
10 |
A |
0 |
0 |
0 |
router-bits-en |
6473/7769/7874 |
7895 |
7857 |
6473/7769/7857/7895 |
Sandblasting Cabinets |
10 |
A |
0 |
0 |
0 |
sandblasting-cabinets-en |
6473/7769/7857 |
8072 |
7875 |
6473/7769/7875/8072 |
Sandpaper & Sanding Sponges |
10 |
A |
0 |
0 |
1 |
sandpaper-and-sanding-sponges-en |
6473/7769/7875 |
8163 |
7881 |
6473/7769/7881/8163 |
Saw Stands |
10 |
A |
0 |
0 |
0 |
saw-stands-en |
6473/7769/7881 |
8132 |
8104 |
6473/7769/8104/8132 |
Shaper Cutters |
10 |
A |
0 |
0 |
0 |
shaper-cutters-en |
6473/7769/8104 |
8146 |
7877 |
6473/7769/7877/8146 |
Soldering Iron Stands |
10 |
A |
0 |
0 |
0 |
soldering-iron-stands-en |
6473/7769/7877 |
7858 |
7769 |
6473/7769/7858 |
Axe Accessories |
20 |
A |
0 |
0 |
0 |
axe-accessories-en |
6473/7769 |
7947 |
7858 |
6473/7769/7858/7947 |
Axe Heads |
20 |
A |
0 |
0 |
0 |
axe-heads-en |
6473/7769/7858 |
7977 |
7860 |
6473/7769/7860/7977 |
Drill Bit Extensions |
20 |
A |
0 |
0 |
0 |
drill-bit-extensions-en |
6473/7769/7860 |
8032 |
7869 |
6473/7769/7869/8032 |
Gas Detector Accessories |
20 |
A |
0 |
0 |
0 |
gas-detector-accessories-en |
6473/7769/7869 |
7998 |
7864 |
6473/7769/7864/7998 |
Hammer Handles |
20 |
A |
0 |
0 |
0 |
hammer-handles-en |
6473/7769/7864 |
8091 |
7876 |
6473/7769/7876/8091 |
Handheld Circular Saw Accessories |
20 |
A |
0 |
0 |
0 |
handheld-circular-saw-accessories-en |
6473/7769/7876 |
8065 |
7874 |
6473/7769/7874/8065 |
Router Tables |
20 |
A |
0 |
0 |
0 |
router-tables-en |
6473/7769/7874 |
8157 |
7878 |
6473/7769/7878/8157 |
Saw Blades |
20 |
A |
0 |
0 |
0 |
saw-blades-en |
6473/7769/7878 |
8147 |
7877 |
6473/7769/7877/8147 |
Soldering Iron Tips |
20 |
A |
0 |
0 |
0 |
soldering-iron-tips-en |
6473/7769/7877 |
7859 |
7769 |
6473/7769/7859 |
Cutter Accessories |
30 |
A |
0 |
0 |
0 |
cutter-accessories-en |
6473/7769 |
7978 |
7860 |
6473/7769/7860/7978 |
Drill Bit Sharpeners |
30 |
A |
0 |
0 |
0 |
drill-bit-sharpeners-en |
6473/7769/7860 |
7999 |
7864 |
6473/7769/7864/7999 |
Hammer Heads |
30 |
A |
0 |
0 |
0 |
hammer-heads-en |
6473/7769/7864 |
8092 |
7876 |
6473/7769/7876/8092 |
Jigsaw Accessories |
30 |
A |
0 |
0 |
0 |
jigsaw-accessories-en |
6473/7769/7876 |
8033 |
7869 |
6473/7769/7869/8033 |
Measuring Scale Accessories |
30 |
A |
0 |
0 |
0 |
measuring-scale-accessories-en |
6473/7769/7869 |
7860 |
7769 |
6473/7769/7860 |
Drill & Screwdriver Accessories |
40 |
A |
0 |
0 |
0 |
drill-and-screwdriver-accessories-en |
6473/7769 |
7979 |
7860 |
6473/7769/7860/7979 |
Drill Chucks |
40 |
A |
0 |
0 |
0 |
drill-chucks-en |
6473/7769/7860 |
8093 |
7876 |
6473/7769/7876/8093 |
Miter Saw Accessories |
40 |
A |
0 |
0 |
0 |
miter-saw-accessories-en |
6473/7769/7876 |
8034 |
7869 |
6473/7769/7869/8034 |
Multimeter Accessories |
40 |
A |
0 |
0 |
62 |
multimeter-accessories-en |
6473/7769/7869 |
7980 |
7860 |
6473/7769/7860/7980 |
Drill Stands & Guides |
50 |
A |
0 |
0 |
0 |
drill-stands-and-guides-en |
6473/7769/7860 |
7861 |
7769 |
6473/7769/7861 |
Driver Accessories |
50 |
A |
0 |
0 |
0 |
driver-accessories-en |
6473/7769 |
8094 |
7876 |
6473/7769/7876/8094 |
Table Saw Accessories |
50 |
A |
0 |
0 |
0 |
table-saw-accessories-en |
6473/7769/7876 |
7862 |
7769 |
6473/7769/7862 |
Flashlight Accessories |
60 |
A |
0 |
0 |
28 |
flashlight-accessories-en |
6473/7769 |
7981 |
7860 |
6473/7769/7860/7981 |
Hole Saws |
60 |
A |
0 |
0 |
0 |
hole-saws-en |
6473/7769/7860 |
7863 |
7769 |
6473/7769/7863 |
Grinder Accessories |
70 |
A |
0 |
0 |
0 |
grinder-accessories-en |
6473/7769 |
7864 |
7769 |
6473/7769/7864 |
Hammer Accessories |
80 |
A |
0 |
0 |
0 |
hammer-accessories-en |
6473/7769 |
7865 |
7769 |
6473/7769/7865 |
Industrial Staples |
90 |
A |
0 |
0 |
0 |
industrial-staples-en |
6473/7769 |
7866 |
7769 |
6473/7769/7866 |
Jigs |
100 |
A |
0 |
0 |
0 |
jigs-en |
6473/7769 |
7867 |
7769 |
6473/7769/7867 |
Magnetizers & Demagnetizers |
110 |
A |
0 |
0 |
7 |
magnetizers-and-demagnetizers-en |
6473/7769 |
7868 |
7769 |
6473/7769/7868 |
Mattock & Pickaxe Accessories |
120 |
A |
0 |
0 |
0 |
mattock-and-pickaxe-accessories-en |
6473/7769 |
7869 |
7769 |
6473/7769/7869 |
Measuring Tool & Sensor Accessories |
130 |
A |
0 |
0 |
0 |
measuring-tool-and-sensor-accessories-en |
6473/7769 |
7870 |
7769 |
6473/7769/7870 |
Mixing Tool Paddles |
140 |
A |
0 |
0 |
0 |
mixing-tool-paddles-en |
6473/7769 |
7871 |
7769 |
6473/7769/7871 |
Paint Tool Accessories |
150 |
A |
0 |
0 |
0 |
paint-tool-accessories-en |
6473/7769 |
7872 |
7769 |
6473/7769/7872 |
Power Tool Batteries |
160 |
A |
0 |
0 |
0 |
power-tool-batteries-en |
6473/7769 |
7873 |
7769 |
6473/7769/7873 |
Power Tool Chargers |
170 |
A |
0 |
0 |
0 |
power-tool-chargers-en |
6473/7769 |
7874 |
7769 |
6473/7769/7874 |
Router Accessories |
180 |
A |
0 |
0 |
0 |
router-accessories-en |
6473/7769 |
7875 |
7769 |
6473/7769/7875 |
Sanding Accessories |
190 |
A |
0 |
0 |
0 |
sanding-accessories-en |
6473/7769 |
7876 |
7769 |
6473/7769/7876 |
Saw Accessories |
200 |
A |
0 |
0 |
0 |
saw-accessories-en |
6473/7769 |
7877 |
7769 |
6473/7769/7877 |
Soldering Iron Accessories |
210 |
A |
0 |
0 |
0 |
soldering-iron-accessories-en |
6473/7769 |
7878 |
7769 |
6473/7769/7878 |
Tool Blades |
220 |
A |
0 |
0 |
0 |
tool-blades-en |
6473/7769 |
7879 |
7769 |
6473/7769/7879 |
Tool Handle Wedges |
230 |
A |
0 |
0 |
0 |
tool-handle-wedges-en |
6473/7769 |
7880 |
7769 |
6473/7769/7880 |
Tool Sockets |
240 |
A |
0 |
0 |
0 |
tool-sockets-en |
6473/7769 |
7881 |
7769 |
6473/7769/7881 |
Tool Stands |
250 |
A |
0 |
0 |
0 |
tool-stands-en |
6473/7769 |
7882 |
7769 |
6473/7769/7882 |
Wedge Tools |
260 |
A |
0 |
0 |
0 |
wedge-tools-en |
6473/7769 |
7883 |
7769 |
6473/7769/7883 |
Welding Accessories |
270 |
A |
0 |
0 |
37 |
welding-accessories-en |
6473/7769 |
8104 |
7769 |
6473/7769/8104 |
Shaper Accessories |
280 |
A |
0 |
0 |
0 |
shaper-accessories-en |
6473/7769 |
8050 |
7871 |
6473/7769/7871/8050 |
Paint Brush Cleaning Solutions |
1400 |
A |
0 |
0 |
0 |
paint-brush-cleaning-solutions-en |
6473/7769/7871 |
8051 |
7871 |
6473/7769/7871/8051 |
Paint Roller Accessories |
1410 |
A |
0 |
0 |
0 |
paint-roller-accessories-en |
6473/7769/7871 |