Query time 0.00643
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "199.05"
},
"ordering_operation": {
"using_filesort": true,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "cscart_categories",
"access_type": "const",
"possible_keys": [
"PRIMARY",
"c_status",
"p_category_id"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.00",
"eval_cost": "0.10",
"prefix_cost": "0.00",
"data_read_per_join": "2K"
},
"used_columns": [
"category_id",
"usergroup_ids",
"status",
"storefront_id"
]
}
},
{
"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": 1,
"filtered": "33.33",
"cost_info": {
"read_cost": "2.10",
"eval_cost": "0.17",
"prefix_cost": "2.26",
"data_read_per_join": "10K"
},
"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": [
"const"
],
"rows_examined_per_scan": 257,
"rows_produced_per_join": 428,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.57",
"eval_cost": "42.83",
"prefix_cost": "45.67",
"data_read_per_join": "6K"
},
"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": 21,
"filtered": "5.00",
"cost_info": {
"read_cost": "64.25",
"eval_cost": "2.14",
"prefix_cost": "152.75",
"data_read_per_join": "102K"
},
"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": 21,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.21",
"eval_cost": "2.14",
"prefix_cost": "158.11",
"data_read_per_join": "81K"
},
"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": 35,
"filtered": "9.92",
"cost_info": {
"read_cost": "5.45",
"eval_cost": "3.52",
"prefix_cost": "199.06",
"data_read_per_join": "845"
},
"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 |
| 91929 |
Victrion Two Outlet Triple Thermostatic Concealed Valve |
Roxor |
621.67000000 |
P |
0 |
N |
N |
N |
| 91930 |
Victrion Two Outlet Triple Thermostatic Concealed Valve |
Roxor |
621.67000000 |
P |
0 |
N |
N |
N |
| 91931 |
Victrion Two Outlet Triple Thermostatic Concealed Valve |
Roxor |
621.67000000 |
P |
0 |
N |
N |
N |
| 91932 |
Victrion Two Outlet Triple Thermostatic Concealed Valve |
Roxor |
621.67000000 |
P |
0 |
N |
N |
N |
| 91933 |
Victrion Two Outlet Triple Thermostatic Concealed Valve |
Roxor |
621.67000000 |
P |
0 |
N |
N |
N |
| 91934 |
Victrion Two Outlet Triple Thermostatic Concealed Valve |
Roxor |
621.67000000 |
P |
0 |
N |
N |
N |
| 91935 |
Victrion Two Outlet Triple Thermostatic Concealed Valve |
Roxor |
621.67000000 |
P |
0 |
N |
N |
N |
| 89434 |
Industrial Valves Triple Valve Brushed Brass |
Roxor |
604.17000000 |
P |
0 |
N |
N |
N |
| 89441 |
Industrial Valves Twin Valve with Diverter Brushed Brass |
Roxor |
590.83000000 |
P |
0 |
N |
N |
N |
| 82414 |
Tec Pura Triple Thermostatic Shower Valve Brushed Brass |
Roxor |
581.67000000 |
P |
0 |
N |
N |
N |
| 86855 |
Tec Crosshead Triple Thermostatic Shower Valve Brushed Brass |
Roxor |
581.67000000 |
P |
0 |
N |
N |
N |
| 89432 |
Industrial Valves Triple Valve Matt Black |
Roxor |
555.83000000 |
P |
0 |
N |
N |
N |
| 89439 |
Industrial Valves Twin Valve with Diverter Matt Black |
Roxor |
544.17000000 |
P |
0 |
N |
N |
N |
| 82396 |
Tec Pura Triple Thermostatic Shower Valve Matt Black |
Roxor |
534.17000000 |
P |
0 |
N |
N |
N |
| 86851 |
Tec Crosshead Triple Thermostatic Shower Valve Matt Black |
Roxor |
534.17000000 |
P |
0 |
N |
N |
N |
| 86853 |
Tec Crosshead Twin Thermostatic Shower Valve With Diverter Brushed Brass |
Roxor |
533.33000000 |
P |
0 |
N |
N |
N |
| 84263 |
Black Topaz Triple Concealed Shower Valve |
Roxor |
529.17000000 |
P |
0 |
N |
N |
N |
| 84267 |
Black Topaz Triple Exposed Shower Valve |
Roxor |
529.17000000 |
P |
0 |
N |
N |
N |
| 82343 |
Square Showers Twin Thermostatic Shower Valve With Diverter |
Roxor |
522.50000000 |
P |
0 |
N |
N |
N |
| 84264 |
Black Topaz Twin Concealed Shower Valve With Diverter |
Roxor |
514.17000000 |
P |
0 |
N |
N |
N |
| 89729 |
White Topaz Triple Thermostatic Shower Valve |
Roxor |
502.50000000 |
P |
0 |
N |
N |
N |
| 89734 |
White Topaz Triple Thermostatic Shower Valve |
Roxor |
502.50000000 |
P |
0 |
N |
N |
N |
| 86849 |
Tec Crosshead Twin Thermostatic Shower Valve With Diverter Matt Black |
Roxor |
491.67000000 |
P |
0 |
N |
N |
N |
| 89730 |
White Topaz Twin Concealed Shower Valve with Diverter |
Roxor |
491.67000000 |
P |
0 |
N |
N |
N |
| 91293 |
Aztec Triple Thermostatic Concealed Shower Valve - 2 Outlet |
Roxor |
490.83000000 |
P |
0 |
N |
N |
N |
| 82340 |
Edwardian Triple Thermostatic Shower Valve |
Roxor |
483.33000000 |
P |
0 |
N |
N |
N |
| 82341 |
Edwardian Triple Thermostatic Shower Valve |
Roxor |
483.33000000 |
P |
0 |
N |
N |
N |
| 82346 |
Victorian Triple Thermostatic Shower Valve |
Roxor |
483.33000000 |
P |
0 |
N |
N |
N |
| 86389 |
Victorian Triple Thermostatic Shower Valve |
Roxor |
483.33000000 |
P |
0 |
N |
N |
N |
| 86391 |
Victorian Triple Thermostatic Shower Valve |
Roxor |
483.33000000 |
P |
0 |
N |
N |
N |
| 89430 |
Industrial Valves Triple Valve |
Roxor |
483.33000000 |
P |
0 |
N |
N |
N |
| 89123 |
Reign Triple Thermostatic Shower Valve |
Roxor |
480.00000000 |
P |
0 |
N |
N |
N |
| 89127 |
Reign Triple Thermostatic Shower Valve |
Roxor |
480.00000000 |
P |
0 |
N |
N |
N |
| 89159 |
Round Valves Triple Valve |
Roxor |
480.00000000 |
P |
0 |
N |
N |
N |
| 89550 |
Square Valves Triple Valve |
Roxor |
480.00000000 |
P |
0 |
N |
N |
N |
| 83087 |
Art Triple Thermostatic Shower Valve |
Roxor |
472.50000000 |
P |
0 |
N |
N |
N |
| 89437 |
Industrial Valves Twin Valve with Diverter |
Roxor |
472.50000000 |
P |
0 |
N |
N |
N |
| 91289 |
Aztec Triple Thermostatic Concealed Shower Valve - 2 Outlet |
Roxor |
472.50000000 |
P |
0 |
N |
N |
N |
| 89157 |
Indus Twin Thermostatic Shower Valve With Diverter |
Roxor |
469.17000000 |
P |
0 |
N |
N |
N |
| 89548 |
Lennox Twin Thermostatic Shower Valve With Diverter |
Roxor |
469.17000000 |
P |
0 |
N |
N |
N |
| 90092 |
Windon Triple Thermostatic Valve |
Roxor |
469.17000000 |
P |
0 |
N |
N |
N |
| 90102 |
Windon Triple Thermostatic Valve |
Roxor |
469.17000000 |
P |
0 |
N |
N |
N |
| 90111 |
Windon Triple Thermostatic Valve |
Roxor |
469.17000000 |
P |
0 |
N |
N |
N |
| 82329 |
Tec Pura Triple Thermostatic Shower Valve |
Roxor |
464.17000000 |
P |
0 |
N |
N |
N |
| 86813 |
Square Showers Triple Thermostatic Shower Valve |
Roxor |
464.17000000 |
P |
0 |
N |
N |
N |
| 86847 |
Tec Crosshead Triple Thermostatic Shower Valve |
Roxor |
464.17000000 |
P |
0 |
N |
N |
N |
| 89100 |
Round Showers Triple Thermostatic Shower Valve |
Roxor |
464.17000000 |
P |
0 |
N |
N |
N |
| 83114 |
Arvan Triple Thermostatic Valve |
Roxor |
453.33000000 |
P |
0 |
N |
N |
N |
| 83124 |
Arvan Triple Thermostatic Valve |
Roxor |
453.33000000 |
P |
0 |
N |
N |
N |
| 83133 |
Arvan Triple Thermostatic Valve |
Roxor |
453.33000000 |
P |
0 |
N |
N |
N |
| 90119 |
Windon Triple Thermostatic Valve |
Roxor |
444.17000000 |
P |
0 |
N |
N |
N |
| 83085 |
Art Twin Thermostatic Shower Valve With Diverter |
Roxor |
443.33000000 |
P |
0 |
N |
N |
N |
| 89121 |
Reign Twin Valve With Diverter |
Roxor |
443.33000000 |
P |
0 |
N |
N |
N |
| 89162 |
Round Valves Twin Valve with Diverter |
Roxor |
443.33000000 |
P |
0 |
N |
N |
N |
| 89553 |
Square Valves Twin Valve with Diverter |
Roxor |
443.33000000 |
P |
0 |
N |
N |
N |
| 89125 |
Reign Twin Valve With Diverter |
Roxor |
440.83000000 |
P |
0 |
N |
N |
N |
| 89198 |
Sanford Triple Thermostatic Valve |
Roxor |
432.50000000 |
P |
0 |
N |
N |
N |
| 86812 |
Square Showers Twin Thermostatic Shower Valve With Diverter |
Roxor |
428.33000000 |
P |
0 |
N |
N |
N |
| 89099 |
Round Showers Twin Thermostatic Shower Valve With Diverter |
Roxor |
428.33000000 |
P |
0 |
N |
N |
N |
| 82331 |
Tec Pura Twin Thermostatic Shower Valve With Diverter |
Roxor |
426.67000000 |
P |
0 |
N |
N |
N |
| 86845 |
Tec Crosshead Twin Thermostatic Shower Valve With Diverter |
Roxor |
426.67000000 |
P |
0 |
N |
N |
N |
| 91285 |
Aztec Triple Thermostatic Concealed Shower Valve - 2 Outlet |
Roxor |
416.67000000 |
P |
0 |
N |
N |
N |
| 83141 |
Arvan Triple Thermostatic Valve |
Roxor |
415.00000000 |
P |
0 |
N |
N |
N |
| 91291 |
Aztec Twin Thermostatic Concealed Shower Valve with Diverter - 2 Outlet |
Roxor |
415.00000000 |
P |
0 |
N |
N |
N |
| 90095 |
Windon Twin Thermostatic Valve With Diverter |
Roxor |
409.17000000 |
P |
0 |
N |
N |
N |
| 90105 |
Windon Twin Thermostatic Valve With Diverter |
Roxor |
409.17000000 |
P |
0 |
N |
N |
N |
| 90114 |
Windon Twin Thermostatic Valve With Diverter |
Roxor |
409.17000000 |
P |
0 |
N |
N |
N |
| 91287 |
Aztec Twin Thermostatic Concealed Shower Valve with Diverter - 2 Outlet |
Roxor |
406.67000000 |
P |
0 |
N |
N |
N |
| 84120 |
Binsey Triple Thermostatic Valve |
Roxor |
405.00000000 |
P |
0 |
N |
N |
N |
| 83117 |
Arvan Twin Thermostatic Valve With Diverter |
Roxor |
397.50000000 |
P |
0 |
N |
N |
N |
| 83127 |
Arvan Twin Thermostatic Valve With Diverter |
Roxor |
397.50000000 |
P |
0 |
N |
N |
N |
| 83136 |
Arvan Twin Thermostatic Valve With Diverter |
Roxor |
397.50000000 |
P |
0 |
N |
N |
N |
| 90122 |
Windon Twin Thermostatic Valve With Diverter |
Roxor |
387.50000000 |
P |
0 |
N |
N |
N |
| 89201 |
Sanford Twin Thermostatic Valve With Diverter |
Roxor |
378.33000000 |
P |
0 |
N |
N |
N |
| 91283 |
Aztec Twin Thermostatic Concealed Shower Valve with Diverter - 2 Outlet |
Roxor |
365.00000000 |
P |
0 |
N |
N |
N |
| 83144 |
Arvan Twin Thermostatic Valve With Diverter |
Roxor |
364.17000000 |
P |
0 |
N |
N |
N |
| 84123 |
Binsey Twin Thermostatic Valve With Diverter |
Roxor |
358.33000000 |
P |
0 |
N |
N |
N |
| 91928 |
Victrion Two Outlet Triple Thermostatic Concealed Valve |
Roxor |
300.00000000 |
P |
0 |
N |
N |
N |
| 90116 |
Windon Manual Shower Valve With Diverter |
Roxor |
135.00000000 |
P |
0 |
N |
N |
N |
| 89195 |
Sanford Manual Shower Valve With Diverter |
Roxor |
130.83000000 |
P |
0 |
N |
N |
N |
| 84117 |
Binsey Manual Shower Valve With Diverter |
Roxor |
120.83000000 |
P |
0 |
N |
N |
N |
| 83138 |
Arvan Manual Shower Valve With Diverter |
Roxor |
117.50000000 |
P |
0 |
N |
N |
N |
| 90123 |
Windon Concealed Diverter 2/3/4 Way |
Roxor |
115.83000000 |
P |
0 |
N |
N |
N |
| 92840 |
ARV15TR02 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 92843 |
ARV15TW02 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94076 |
WIN15TR02 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94079 |
WIN15TW02 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94687 |
BAYS103 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94688 |
BAYS104 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94691 |
BAYS112 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94711 |
BAYS403 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94712 |
BAYS404 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94715 |
BAYS412 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 96711 |
A3003-M |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 96713 |
A3007-M |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 96722 |
A3057-M |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |