Query time 0.00818
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "12.47"
},
"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": 3,
"rows_produced_per_join": 0,
"filtered": "4.00",
"cost_info": {
"read_cost": "1.35",
"eval_cost": "0.01",
"prefix_cost": "1.36",
"data_read_per_join": "320"
},
"used_columns": [
"category_id",
"usergroup_ids",
"status",
"storefront_id"
],
"attached_condition": "((`nuie_scalesta_net`.`cscart_categories`.`category_id` in (7244,7245,7246)) 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.25",
"eval_cost": "0.02",
"prefix_cost": "1.63",
"data_read_per_join": "1K"
},
"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": 23,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.06",
"eval_cost": "2.35",
"prefix_cost": "4.05",
"data_read_per_join": "376"
},
"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": 1,
"filtered": "5.00",
"cost_info": {
"read_cost": "3.53",
"eval_cost": "0.12",
"prefix_cost": "9.93",
"data_read_per_join": "5K"
},
"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": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.18",
"eval_cost": "0.12",
"prefix_cost": "10.22",
"data_read_per_join": "4K"
},
"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": 1,
"filtered": "9.92",
"cost_info": {
"read_cost": "0.30",
"eval_cost": "0.19",
"prefix_cost": "12.47",
"data_read_per_join": "46"
},
"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 |
| 87189 |
Wall Hung 2 Door Mirror Cabinet 600mm |
Roxor |
878.33000000 |
P |
0 |
N |
N |
N |
| 87206 |
Wall Hung 2 Door Mirror Cabinet 600mm |
Roxor |
878.33000000 |
P |
0 |
N |
N |
N |
| 87223 |
Wall Hung 2 Door Mirror Cabinet 600mm |
Roxor |
878.33000000 |
P |
0 |
N |
N |
N |
| 87261 |
Leda 800mm Mirror Cabinet |
Roxor |
815.00000000 |
P |
0 |
N |
N |
N |
| 87188 |
Wall Hung 1 Door Mirror Cabinet 600mm |
Roxor |
689.17000000 |
P |
0 |
N |
N |
N |
| 87205 |
Wall Hung 1 Door Mirror Cabinet 600mm |
Roxor |
689.17000000 |
P |
0 |
N |
N |
N |
| 87222 |
Wall Hung 1 Door Mirror Cabinet 600mm |
Roxor |
689.17000000 |
P |
0 |
N |
N |
N |
| 87230 |
Wall Hung 1 Door Mirror Cabinet 600mm |
Roxor |
689.17000000 |
P |
0 |
N |
N |
N |
| 89086 |
Quartet Wall Hung 3 Door Mirror Cabinet 1350mm |
Roxor |
616.67000000 |
P |
0 |
N |
N |
N |
| 89087 |
Quartet Wall Hung 3 Door Mirror Cabinet 1350mm |
Roxor |
607.50000000 |
P |
0 |
N |
N |
N |
| 87260 |
Pavo 500mm Mirror Cabinet |
Roxor |
598.33000000 |
P |
0 |
N |
N |
N |
| 89085 |
Quartet Wall Hung 3 Door Mirror Cabinet 1350mm |
Roxor |
580.00000000 |
P |
0 |
N |
N |
N |
| 88170 |
Juno 600mm Wall Hung Mirror Unit (50/50) |
Roxor |
563.33000000 |
P |
0 |
N |
N |
N |
| 88218 |
Juno Wall Hung 2 Door Mirror Cabinet, 600mm |
Roxor |
563.33000000 |
P |
0 |
N |
N |
N |
| 88194 |
Juno 600mm Wall Hung Mirror Unit (50/50) |
Roxor |
493.33000000 |
P |
0 |
N |
N |
N |
| 88206 |
Juno 600mm Wall Hung Mirror Unit (50/50) |
Roxor |
493.33000000 |
P |
0 |
N |
N |
N |
| 87271 |
Hydrus 700mm x 500mm Black Framed Mirror |
Roxor |
434.17000000 |
P |
0 |
N |
N |
N |
| 87272 |
Hydrus 700mm x 500mm Brushed Brass Framed Mirror |
Roxor |
434.17000000 |
P |
0 |
N |
N |
N |
| 87273 |
Hydrus 700mm x 500mm Silver Framed Mirror |
Roxor |
434.17000000 |
P |
0 |
N |
N |
N |
| 88668 |
Fusion Fitted Wall Hung 2 Door Mirror Unit (50/50) 800mm |
Roxor |
416.67000000 |
P |
0 |
N |
N |
N |
| 88715 |
Fusion Fitted Wall Hung 2 Door Mirror Unit (50/50) 800mm |
Roxor |
416.67000000 |
P |
0 |
N |
N |
N |
| 88762 |
Fusion Fitted Wall Hung 2 Door Mirror Unit (50/50) 800mm |
Roxor |
416.67000000 |
P |
0 |
N |
N |
N |
| 87279 |
Salana 800mm Round Touch Sensor Illuminated Mirror |
Roxor |
392.50000000 |
P |
0 |
N |
N |
N |
| 87278 |
Salana 800mm Round Touch Sensor Illuminated Mirror |
Roxor |
390.83000000 |
P |
0 |
N |
N |
N |
| 87277 |
Salana 800mm Round Touch Sensor Illuminated Mirror |
Roxor |
388.33000000 |
P |
0 |
N |
N |
N |
| 87268 |
Leva 700mm x 500mm Ambient Mirror |
Roxor |
383.33000000 |
P |
0 |
N |
N |
N |
| 87266 |
Enif 800mm x 600mm Touch Sensor Mirror |
Roxor |
370.83000000 |
P |
0 |
N |
N |
N |
| 87270 |
Cepheus 800mm x 600mm Ambient Touch Sensor Mirror |
Roxor |
355.83000000 |
P |
0 |
N |
N |
N |
| 87263 |
Lyra 700mm x 500mm LED Mirror |
Roxor |
341.67000000 |
P |
0 |
N |
N |
N |
| 87267 |
Castor 700mm x 500mm Ambient Mirror |
Roxor |
340.00000000 |
P |
0 |
N |
N |
N |
| 87451 |
Athena Wall Hung Mirror Unit (50/50) 600mm |
Roxor |
333.33000000 |
P |
0 |
N |
N |
N |
| 87452 |
Athena Wall Hung Mirror Unit (75/25) 600mm |
Roxor |
333.33000000 |
P |
0 |
N |
N |
N |
| 88558 |
Fusion Fitted Wall Hung 2 Door Mirror Unit (50/50) 800mm |
Roxor |
333.33000000 |
P |
0 |
N |
N |
N |
| 88571 |
Parade Wall Hung 2 Door Mirror Cabinet |
Roxor |
333.33000000 |
P |
0 |
N |
N |
N |
| 88608 |
Arno 600mm Mirror Unit (50/50) |
Roxor |
333.33000000 |
P |
0 |
N |
N |
N |
| 88665 |
Fusion Fitted Wall Hung 2 Door Mirror Unit (50/50) 600mm |
Roxor |
333.33000000 |
P |
0 |
N |
N |
N |
| 88666 |
Arno 600mm Mirror Unit (50/50) |
Roxor |
333.33000000 |
P |
0 |
N |
N |
N |
| 88667 |
Fusion Fitted Wall Hung 2 Door Mirror Unit (75/25) 600mm |
Roxor |
333.33000000 |
P |
0 |
N |
N |
N |
| 88712 |
Fusion Fitted Wall Hung 2 Door Mirror Unit (50/50) 600mm |
Roxor |
333.33000000 |
P |
0 |
N |
N |
N |
| 88713 |
Arno 600mm Mirror Unit (50/50) |
Roxor |
333.33000000 |
P |
0 |
N |
N |
N |
| 88714 |
Fusion Fitted Wall Hung 2 Door Mirror Unit (75/25) 600mm |
Roxor |
333.33000000 |
P |
0 |
N |
N |
N |
| 88751 |
Arno 600mm Mirror Unit (50/50) |
Roxor |
333.33000000 |
P |
0 |
N |
N |
N |
| 88760 |
Fusion Fitted Wall Hung 2 Door Mirror Unit (50/50) 600mm |
Roxor |
333.33000000 |
P |
0 |
N |
N |
N |
| 88761 |
Fusion Fitted Wall Hung 2 Door Mirror Unit (75/25) 600mm |
Roxor |
333.33000000 |
P |
0 |
N |
N |
N |
| 91461 |
Arno Wall Hung 2 Soft Close Door 50/50 Mirror Cabinet, 600mm |
Roxor |
333.33000000 |
P |
0 |
N |
N |
N |
| 87264 |
Anser 700mm x 500mm LED Mirror |
Roxor |
319.17000000 |
P |
0 |
N |
N |
N |
| 87262 |
Carina 700mm x 500mm LED Mirror |
Roxor |
316.67000000 |
P |
0 |
N |
N |
N |
| 87265 |
Sculptor 700mm x 500mm Touch Sensor Mirror |
Roxor |
310.83000000 |
P |
0 |
N |
N |
N |
| 87276 |
Salana 600mm Round Touch Sensor Illuminated Mirror |
Roxor |
306.67000000 |
P |
0 |
N |
N |
N |
| 87275 |
Salana 600mm Round Touch Sensor Illuminated Mirror |
Roxor |
305.00000000 |
P |
0 |
N |
N |
N |
| 87274 |
Salana 600mm Round Touch Sensor Illuminated Mirror |
Roxor |
303.33000000 |
P |
0 |
N |
N |
N |
| 87269 |
Lynx 700mm x 500mm Ambient Mirror |
Roxor |
285.00000000 |
P |
0 |
N |
N |
N |
| 88526 |
Eden Wall Hung 4 Door Mirror Cabinet 1200mm |
Roxor |
274.17000000 |
P |
0 |
N |
N |
N |
| 88759 |
Fusion Fitted Wall Hung 1 Door Mirror Cabinet 450mm |
Roxor |
274.17000000 |
P |
0 |
N |
N |
N |
| 87187 |
Wall Hung Flat Mirror 600mm |
Roxor |
262.50000000 |
P |
0 |
N |
N |
N |
| 87204 |
Wall Hung Flat Mirror 600mm |
Roxor |
262.50000000 |
P |
0 |
N |
N |
N |
| 87221 |
Wall Hung Flat Mirror 600mm |
Roxor |
262.50000000 |
P |
0 |
N |
N |
N |
| 87229 |
Wall Hung Flat Mirror 600mm |
Roxor |
262.50000000 |
P |
0 |
N |
N |
N |
| 84767 |
Classique Wall Hung 2 Door Mirror Cabinet, 600mm |
Roxor |
260.00000000 |
P |
0 |
N |
N |
N |
| 84780 |
Classique Wall Hung 2 Door Mirror Cabinet, 600mm |
Roxor |
260.00000000 |
P |
0 |
N |
N |
N |
| 84789 |
Classique Wall Hung 2 Door Mirror Cabinet, 600mm |
Roxor |
260.00000000 |
P |
0 |
N |
N |
N |
| 84762 |
Classique Wall Hung 2 Door Mirror Cabinet, 600mm |
Roxor |
250.83000000 |
P |
0 |
N |
N |
N |
| 88556 |
Fusion Fitted Wall Hung 2 Door Mirror Unit (50/50) 600mm |
Roxor |
250.00000000 |
P |
0 |
N |
N |
N |
| 88557 |
Fusion Fitted Wall Hung 2 Door Mirror Unit (75/25) 600mm |
Roxor |
250.00000000 |
P |
0 |
N |
N |
N |
| 88664 |
Fusion Fitted Wall Hung 1 Door Mirror Cabinet 450mm |
Roxor |
245.00000000 |
P |
0 |
N |
N |
N |
| 88711 |
Fusion Fitted Wall Hung 1 Door Mirror Cabinet 450mm |
Roxor |
245.00000000 |
P |
0 |
N |
N |
N |
| 88396 |
Mayford Wall Hung Corner Single Door Mirror Cabinet |
Roxor |
221.67000000 |
P |
0 |
N |
N |
N |
| 88525 |
Eden Wall Hung 3 Door Mirror Cabinet 900mm |
Roxor |
213.33000000 |
P |
0 |
N |
N |
N |
| 88524 |
Eden Wall Hung 2 Door Mirror Cabinet 600mm |
Roxor |
168.33000000 |
P |
0 |
N |
N |
N |
| 88555 |
Fusion Fitted Wall Hung 1 Door Mirror Cabinet 450mm |
Roxor |
166.67000000 |
P |
0 |
N |
N |
N |
| 93749 |
LON817 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 93830 |
NPF2917 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 93850 |
OFF2917 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 93851 |
OFF3016 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 93852 |
OFF3017 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 93853 |
OFF3018 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 93854 |
OFF3019 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94595 |
BAYF122 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94596 |
BAYF123 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94597 |
BAYF124 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94598 |
BAYF128 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94599 |
BAYF129 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94600 |
BAYF130 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94601 |
BAYF131 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94602 |
BAYF132 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94603 |
BAYF133 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94641 |
BAYF181 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94642 |
BAYF182 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94643 |
BAYF183 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94644 |
BAYF184 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94645 |
BAYF185 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94646 |
BAYF186 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94647 |
BAYF187 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94648 |
BAYF188 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94649 |
BAYF189 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94651 |
BAYF422 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |