Query time 0.00900
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "33.24"
},
"ordering_operation": {
"using_filesort": true,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"c_status",
"p_category_id"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"rows_examined_per_scan": 8,
"rows_produced_per_join": 0,
"filtered": "4.00",
"cost_info": {
"read_cost": "3.58",
"eval_cost": "0.03",
"prefix_cost": "3.62",
"data_read_per_join": "855"
},
"used_columns": [
"category_id",
"usergroup_ids",
"status",
"storefront_id"
],
"attached_condition": "((`nuie_scalesta_net`.`cscart_categories`.`category_id` in (7149,7150,7151,7152,7160,7161,7162,7227)) and ((`nuie_scalesta_net`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`nuie_scalesta_net`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`nuie_scalesta_net`.`cscart_categories`.`usergroup_ids`))) and (`nuie_scalesta_net`.`cscart_categories`.`status` in ('A','H')) and (`nuie_scalesta_net`.`cscart_categories`.`storefront_id` in (0,1)))"
}
},
{
"table": {
"table_name": "companies",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"company_id"
],
"key_length": "4",
"rows_examined_per_scan": 5,
"rows_produced_per_join": 0,
"filtered": "33.33",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "0.67",
"eval_cost": "0.05",
"prefix_cost": "4.34",
"data_read_per_join": "3K"
},
"used_columns": [
"company_id",
"status",
"company"
],
"attached_condition": "((`nuie_scalesta_net`.`companies`.`status` = 'A') and (`nuie_scalesta_net`.`companies`.`company_id` in (2,8,9,10,0)))"
}
},
{
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"pt"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"ref": [
"nuie_scalesta_net.cscart_categories.category_id"
],
"rows_examined_per_scan": 117,
"rows_produced_per_join": 62,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.16",
"eval_cost": "6.27",
"prefix_cost": "10.77",
"data_read_per_join": "1003"
},
"used_columns": [
"product_id",
"category_id"
]
}
},
{
"table": {
"table_name": "products",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"age_verification",
"status",
"idx_parent_product_id",
"my_supplier_id",
"supplier_access_time",
"products_rf_product_code_index",
"products_rf_manufacturer_code_index"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"nuie_scalesta_net.products_categories.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "5.00",
"cost_info": {
"read_cost": "9.41",
"eval_cost": "0.31",
"prefix_cost": "26.45",
"data_read_per_join": "15K"
},
"used_columns": [
"product_id",
"product_type",
"status",
"company_id",
"usergroup_ids",
"parent_product_id",
"rf_stop_update_price",
"rf_stop_update_amount",
"rf_stop_update_status"
],
"attached_condition": "((`nuie_scalesta_net`.`products`.`company_id` = `nuie_scalesta_net`.`companies`.`company_id`) and (`nuie_scalesta_net`.`products`.`parent_product_id` = 0) and ((`nuie_scalesta_net`.`products`.`usergroup_ids` = '') or (0 <> find_in_set(0,`nuie_scalesta_net`.`products`.`usergroup_ids`)) or (0 <> find_in_set(1,`nuie_scalesta_net`.`products`.`usergroup_ids`))) and (`nuie_scalesta_net`.`products`.`status` = 'A') and (`nuie_scalesta_net`.`products`.`product_type` <> 'D'))"
}
},
{
"table": {
"table_name": "descr1",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"product_id"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id",
"lang_code"
],
"key_length": "9",
"ref": [
"nuie_scalesta_net.products_categories.product_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.47",
"eval_cost": "0.31",
"prefix_cost": "27.24",
"data_read_per_join": "11K"
},
"used_columns": [
"product_id",
"lang_code",
"product"
]
}
},
{
"table": {
"table_name": "prices",
"access_type": "ref",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id"
],
"key": "usergroup",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"nuie_scalesta_net.products_categories.product_id"
],
"rows_examined_per_scan": 16,
"rows_produced_per_join": 5,
"filtered": "9.92",
"cost_info": {
"read_cost": "0.80",
"eval_cost": "0.52",
"prefix_cost": "33.24",
"data_read_per_join": "123"
},
"used_columns": [
"product_id",
"price",
"percentage_discount",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`nuie_scalesta_net`.`prices`.`lower_limit` = 1) and (`nuie_scalesta_net`.`prices`.`usergroup_id` in (0,0,1)))"
}
}
]
}
}
}
}
Result
| product_id |
product |
company_name |
price |
product_type |
parent_product_id |
rf_stop_update_price |
rf_stop_update_amount |
rf_stop_update_status |
| 92557 |
A15167 |
Roxor |
1337.00000000 |
P |
0 |
N |
N |
N |
| 91945 |
Victrion Superbe Fixed Rigid Riser Kit with 8" Shower Head and Handset |
Roxor |
783.33000000 |
P |
0 |
N |
N |
N |
| 91946 |
Victrion Superbe Fixed Rigid Riser Kit with 8" Shower Head and Handset |
Roxor |
783.33000000 |
P |
0 |
N |
N |
N |
| 91947 |
Victrion Superbe Fixed Rigid Riser Kit with 8" Shower Head and Handset |
Roxor |
783.33000000 |
P |
0 |
N |
N |
N |
| 91948 |
Victrion Superbe Fixed Rigid Riser Kit with 8" Shower Head and Handset |
Roxor |
783.33000000 |
P |
0 |
N |
N |
N |
| 91949 |
Victrion Superbe Fixed Rigid Riser Kit with 8" Shower Head and Handset |
Roxor |
783.33000000 |
P |
0 |
N |
N |
N |
| 91950 |
Victrion Superbe Fixed Rigid Riser Kit with 8" Shower Head and Handset |
Roxor |
783.33000000 |
P |
0 |
N |
N |
N |
| 91951 |
Victrion Superbe Fixed Rigid Riser Kit with 8" Shower Head and Handset |
Roxor |
783.33000000 |
P |
0 |
N |
N |
N |
| 82371 |
Shower Kits Rigid Riser Kit |
Roxor |
615.00000000 |
P |
0 |
N |
N |
N |
| 82450 |
Shower Kits Deluxe Grand Rigid Riser Kit |
Roxor |
518.33000000 |
P |
0 |
N |
N |
N |
| 82451 |
Shower Kits Rigid Riser Kit |
Roxor |
517.50000000 |
P |
0 |
N |
N |
N |
| 82449 |
Shower Kits Rigid Riser Kit |
Roxor |
480.83000000 |
P |
0 |
N |
N |
N |
| 84909 |
Edwardian Twin Thermostatic Shower Valve & Rigid Riser |
Roxor |
464.17000000 |
P |
0 |
N |
N |
N |
| 91944 |
Victrion Superbe Fixed Rigid Riser Kit with 8" Shower Head and Handset |
Roxor |
461.67000000 |
P |
0 |
N |
N |
N |
| 82353 |
Multi Option Shower Kits Worth Shower Kit |
Roxor |
415.00000000 |
P |
0 |
N |
N |
N |
| 91938 |
Victrion Traditional Slide Rail Kit and Handset |
Roxor |
400.00000000 |
P |
0 |
N |
N |
N |
| 82352 |
Multi Option Shower Kits Destiny Shower Kit |
Roxor |
389.17000000 |
P |
0 |
N |
N |
N |
| 91937 |
Victrion Traditional Slide Rail Kit and Handset |
Roxor |
380.83000000 |
P |
0 |
N |
N |
N |
| 91939 |
Victrion Traditional Slide Rail Kit and Handset |
Roxor |
380.83000000 |
P |
0 |
N |
N |
N |
| 91940 |
Victrion Traditional Slide Rail Kit and Handset |
Roxor |
380.83000000 |
P |
0 |
N |
N |
N |
| 91941 |
Victrion Traditional Slide Rail Kit and Handset |
Roxor |
380.83000000 |
P |
0 |
N |
N |
N |
| 91942 |
Victrion Traditional Slide Rail Kit and Handset |
Roxor |
380.83000000 |
P |
0 |
N |
N |
N |
| 91943 |
Victrion Traditional Slide Rail Kit and Handset |
Roxor |
380.83000000 |
P |
0 |
N |
N |
N |
| 86856 |
Shower Accessories Shower Seat |
Roxor |
371.67000000 |
P |
0 |
N |
N |
N |
| 82386 |
Shower Kits Rigid Riser Kit |
Roxor |
358.33000000 |
P |
0 |
N |
N |
N |
| 82403 |
Shower Kits Slide Rail Kit |
Roxor |
325.00000000 |
P |
0 |
N |
N |
N |
| 82410 |
Shower Kits Square Slider Rail Kit with Elbow |
Roxor |
325.00000000 |
P |
0 |
N |
N |
N |
| 82424 |
Shower Kits Slide Rail Kit |
Roxor |
325.00000000 |
P |
0 |
N |
N |
N |
| 82385 |
Shower Kits Rigid Riser Kit |
Roxor |
235.83000000 |
P |
0 |
N |
N |
N |
| 82362 |
Slide Rail Kits Kubix Slide Rail Kit |
Roxor |
235.00000000 |
P |
0 |
N |
N |
N |
| 82448 |
Shower Kits Rigid Riser Kit |
Roxor |
204.17000000 |
P |
0 |
N |
N |
N |
| 82360 |
Showers Rail Kits Slide Rail Kit |
Roxor |
197.50000000 |
P |
0 |
N |
N |
N |
| 82404 |
Slide Rail Kits Slider Rail Kit |
Roxor |
182.50000000 |
P |
0 |
N |
N |
N |
| 82342 |
Slide Rail Kits Water Saving Slide Rail Kit |
Roxor |
177.50000000 |
P |
0 |
N |
N |
N |
| 82367 |
Shower Kits Slider Rail Kit |
Roxor |
174.17000000 |
P |
0 |
N |
N |
N |
| 82338 |
Slide Rail Kits Linear Slide Rail Kits |
Roxor |
140.00000000 |
P |
0 |
N |
N |
N |
| 82337 |
Slimline Slide Rail Kit |
Roxor |
135.00000000 |
P |
0 |
N |
N |
N |
| 91978 |
Victrion Arch Wall Mounted Shower Arm |
Roxor |
130.00000000 |
P |
0 |
N |
N |
N |
| 91981 |
Victrion Arch Wall Mounted Shower Arm |
Roxor |
130.00000000 |
P |
0 |
N |
N |
N |
| 82361 |
Rigid Riser Kit |
Roxor |
129.17000000 |
P |
0 |
N |
N |
N |
| 82563 |
Fixed Shower Heads Wall-Mounted Arm |
Roxor |
129.17000000 |
P |
0 |
N |
N |
N |
| 82567 |
Fixed Shower Heads Small Rectangular Shower Arm |
Roxor |
129.17000000 |
P |
0 |
N |
N |
N |
| 82571 |
Fixed Shower Heads Wall-Mounted Arm |
Roxor |
129.17000000 |
P |
0 |
N |
N |
N |
| 91977 |
Victrion Arch Wall Mounted Shower Arm |
Roxor |
123.33000000 |
P |
0 |
N |
N |
N |
| 91979 |
Victrion Arch Wall Mounted Shower Arm |
Roxor |
123.33000000 |
P |
0 |
N |
N |
N |
| 91980 |
Victrion Arch Wall Mounted Shower Arm |
Roxor |
123.33000000 |
P |
0 |
N |
N |
N |
| 91982 |
Victrion Arch Wall Mounted Shower Arm |
Roxor |
123.33000000 |
P |
0 |
N |
N |
N |
| 91983 |
Victrion Arch Wall Mounted Shower Arm |
Roxor |
123.33000000 |
P |
0 |
N |
N |
N |
| 82556 |
Fixed Shower Heads Wall-Mounted Arm |
Roxor |
121.67000000 |
P |
0 |
N |
N |
N |
| 85583 |
Wastes & Extras Deck Shower Kit |
Roxor |
119.17000000 |
P |
0 |
N |
N |
N |
| 89595 |
Shower Kits Slide Rail Kit |
Roxor |
118.33000000 |
P |
0 |
N |
N |
N |
| 89596 |
Shower Kits Round Slider Rail Kit with Elbow |
Roxor |
118.33000000 |
P |
0 |
N |
N |
N |
| 89597 |
Shower Kits Slide Rail Kit |
Roxor |
118.33000000 |
P |
0 |
N |
N |
N |
| 82336 |
Shower Kits Slide Rail Kit |
Roxor |
117.50000000 |
P |
0 |
N |
N |
N |
| 91936 |
Victrion Traditional Slide Rail Kit and Handset |
Roxor |
115.00000000 |
P |
0 |
N |
N |
N |
| 91970 |
Victrion Ceiling Mounted Shower Arm |
Roxor |
110.00000000 |
P |
0 |
N |
N |
N |
| 91973 |
Victrion Ceiling Mounted Shower Arm |
Roxor |
110.00000000 |
P |
0 |
N |
N |
N |
| 91985 |
Victrion Straight Wall Mounted Shower Arm |
Roxor |
105.00000000 |
P |
0 |
N |
N |
N |
| 91986 |
Victrion Straight Wall Mounted Shower Arm |
Roxor |
105.00000000 |
P |
0 |
N |
N |
N |
| 91987 |
Victrion Straight Wall Mounted Shower Arm |
Roxor |
105.00000000 |
P |
0 |
N |
N |
N |
| 91988 |
Victrion Straight Wall Mounted Shower Arm |
Roxor |
105.00000000 |
P |
0 |
N |
N |
N |
| 91989 |
Victrion Straight Wall Mounted Shower Arm |
Roxor |
105.00000000 |
P |
0 |
N |
N |
N |
| 91990 |
Victrion Straight Wall Mounted Shower Arm |
Roxor |
105.00000000 |
P |
0 |
N |
N |
N |
| 91991 |
Victrion Straight Wall Mounted Shower Arm |
Roxor |
105.00000000 |
P |
0 |
N |
N |
N |
| 91969 |
Victrion Ceiling Mounted Shower Arm |
Roxor |
104.17000000 |
P |
0 |
N |
N |
N |
| 91971 |
Victrion Ceiling Mounted Shower Arm |
Roxor |
104.17000000 |
P |
0 |
N |
N |
N |
| 91972 |
Victrion Ceiling Mounted Shower Arm |
Roxor |
104.17000000 |
P |
0 |
N |
N |
N |
| 91974 |
Victrion Ceiling Mounted Shower Arm |
Roxor |
104.17000000 |
P |
0 |
N |
N |
N |
| 91975 |
Victrion Ceiling Mounted Shower Arm |
Roxor |
104.17000000 |
P |
0 |
N |
N |
N |
| 86810 |
Shower Kits Slide Rail Kit |
Roxor |
103.33000000 |
P |
0 |
N |
N |
N |
| 82557 |
Fixed Shower Heads Wall-Mounted Arm |
Roxor |
102.50000000 |
P |
0 |
N |
N |
N |
| 84045 |
Shower Accessories Body Jet |
Roxor |
102.50000000 |
P |
0 |
N |
N |
N |
| 82369 |
Fixed Shower Heads Ceiling-Mounted Arm |
Roxor |
95.83000000 |
P |
0 |
N |
N |
N |
| 82375 |
Shower Kits Luxury Slide Rail Kit |
Roxor |
93.33000000 |
P |
0 |
N |
N |
N |
| 82357 |
Bar Showers Fast-Fit Bracket for Bar Thermostats |
Roxor |
87.50000000 |
P |
0 |
N |
N |
N |
| 89590 |
Slide Rail Kit |
Roxor |
85.83000000 |
P |
0 |
N |
N |
N |
| 89589 |
Shower Kits Slide Rail Kit |
Roxor |
78.33000000 |
P |
0 |
N |
N |
N |
| 86806 |
Shower Kits Slide Rail Kit |
Roxor |
72.50000000 |
P |
0 |
N |
N |
N |
| 82560 |
Square Wall Mounted Shower Arm |
Roxor |
65.83000000 |
P |
0 |
N |
N |
N |
| 82565 |
Fixed Shower Heads Ceiling-Mounted Arm Matt Black |
Roxor |
65.83000000 |
P |
0 |
N |
N |
N |
| 82569 |
Fixed Shower Heads Round Ceiling Arm 300mm |
Roxor |
65.83000000 |
P |
0 |
N |
N |
N |
| 82573 |
Fixed Shower Heads Ceiling-Mounted Arm Brushed Brass |
Roxor |
65.83000000 |
P |
0 |
N |
N |
N |
| 82562 |
Fixed Shower Heads Wall-Mounted Arm Matt Black |
Roxor |
65.00000000 |
P |
0 |
N |
N |
N |
| 82566 |
Fixed Shower Heads Wall Hung Shower Arm |
Roxor |
65.00000000 |
P |
0 |
N |
N |
N |
| 82570 |
Fixed Shower Heads Wall-Mounted Arm Brushed Brass |
Roxor |
65.00000000 |
P |
0 |
N |
N |
N |
| 91968 |
Victrion Ceiling Mounted Shower Arm |
Roxor |
64.17000000 |
P |
0 |
N |
N |
N |
| 84289 |
Shower Accessories Douche Spray Kit |
Roxor |
61.67000000 |
P |
0 |
N |
N |
N |
| 82555 |
Fixed Shower Heads Wall-Mounted Arm |
Roxor |
60.00000000 |
P |
0 |
N |
N |
N |
| 82553 |
Wall-Mounted Arm |
Roxor |
58.33000000 |
P |
0 |
N |
N |
N |
| 82391 |
Shower Accessories Wall Bracket |
Roxor |
56.67000000 |
P |
0 |
N |
N |
N |
| 82554 |
Shower Arms Wall-Mounted Arm |
Roxor |
56.67000000 |
P |
0 |
N |
N |
N |
| 82559 |
Shower Arms Ceiling-Mounted Arm |
Roxor |
54.17000000 |
P |
0 |
N |
N |
N |
| 82552 |
Shower Arms Wall-Mounted Arm |
Roxor |
52.50000000 |
P |
0 |
N |
N |
N |
| 82564 |
Fixed Shower Heads Wall-Mounted Arm Matt Black |
Roxor |
52.50000000 |
P |
0 |
N |
N |
N |
| 82568 |
Fixed Shower Heads Round Ceiling Arm 150mm |
Roxor |
52.50000000 |
P |
0 |
N |
N |
N |
| 82572 |
Fixed Shower Heads Wall-Mounted Arm Brushed Brass |
Roxor |
52.50000000 |
P |
0 |
N |
N |
N |