Query time 0.03117
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "24.43"
},
"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": 10,
"rows_produced_per_join": 0,
"filtered": "4.00",
"cost_info": {
"read_cost": "4.48",
"eval_cost": "0.04",
"prefix_cost": "4.52",
"data_read_per_join": "1K"
},
"used_columns": [
"category_id",
"usergroup_ids",
"status",
"storefront_id"
],
"attached_condition": "((`nuie_scalesta_net`.`cscart_categories`.`category_id` in (7228,7229,7230,7231,7232,7233,7234,7235,7236,7250)) 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": "14.29",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "0.88",
"eval_cost": "0.03",
"prefix_cost": "5.42",
"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": 33,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.08",
"eval_cost": "3.36",
"prefix_cost": "8.87",
"data_read_per_join": "537"
},
"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": "8.40",
"eval_cost": "0.17",
"prefix_cost": "20.63",
"data_read_per_join": "8K"
},
"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.42",
"eval_cost": "0.17",
"prefix_cost": "21.22",
"data_read_per_join": "6K"
},
"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": 2,
"filtered": "9.92",
"cost_info": {
"read_cost": "0.43",
"eval_cost": "0.28",
"prefix_cost": "24.43",
"data_read_per_join": "66"
},
"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 |
| 86267 |
Horizontal Single Panel Radiator 600 x 992mm |
Roxor |
284.17000000 |
P |
0 |
N |
N |
N |
| 86288 |
Horizontal Single Panel Radiator 600 x 992mm |
Roxor |
284.17000000 |
P |
0 |
N |
N |
N |
| 91421 |
Electric Round Tube Towel Rail with 10 Bars, 800mm x 500mm |
Roxor |
282.50000000 |
P |
0 |
N |
N |
N |
| 86340 |
Designer Radiator 1800 x 237mm |
Roxor |
280.00000000 |
P |
0 |
N |
N |
N |
| 86341 |
Designer Radiator 1800 x 237mm |
Roxor |
280.00000000 |
P |
0 |
N |
N |
N |
| 86266 |
Horizontal Double Panel Radiator 600 x 586mm |
Roxor |
262.50000000 |
P |
0 |
N |
N |
N |
| 86287 |
Horizontal Double Panel Radiator 600 x 586mm |
Roxor |
262.50000000 |
P |
0 |
N |
N |
N |
| 87749 |
Electric Towel Rail 720 x 400mm (300 Watt) |
Roxor |
261.67000000 |
P |
0 |
N |
N |
N |
| 86302 |
Single Panel Designer Radiator 1800 x 354mm |
Roxor |
255.83000000 |
P |
0 |
N |
N |
N |
| 86315 |
Single Panel Designer Radiator 1800 x 354mm |
Roxor |
255.83000000 |
P |
0 |
N |
N |
N |
| 87752 |
Lorica Straight Towel Radiator with Round Rails 800mm x 500mm |
Roxor |
250.00000000 |
P |
0 |
N |
N |
N |
| 86275 |
Heated Towel Rail 1200 x 600mm |
Roxor |
243.33000000 |
P |
0 |
N |
N |
N |
| 86294 |
Horizontal Double Panel Radiator 600 x 412mm |
Roxor |
224.17000000 |
P |
0 |
N |
N |
N |
| 86320 |
Horizontal Double Panel Radiator 600 x 412mm |
Roxor |
224.17000000 |
P |
0 |
N |
N |
N |
| 86295 |
Horizontal Single Panel Radiator 600 x 586mm |
Roxor |
222.50000000 |
P |
0 |
N |
N |
N |
| 86301 |
Vertical Single Panel 1500 x 354mm |
Roxor |
222.50000000 |
P |
0 |
N |
N |
N |
| 86314 |
Single Panel Designer Radiator 1500 x 354mm |
Roxor |
222.50000000 |
P |
0 |
N |
N |
N |
| 86321 |
Horizontal Single Panel Radiator 600 x 586mm |
Roxor |
222.50000000 |
P |
0 |
N |
N |
N |
| 86274 |
Heated Towel Rail 1200 x 450mm |
Roxor |
217.50000000 |
P |
0 |
N |
N |
N |
| 87741 |
Square Ladder Rail 800 x 500mm |
Roxor |
214.17000000 |
P |
0 |
N |
N |
N |
| 86264 |
Horizontal Double Panel Radiator 600 x 412mm |
Roxor |
195.83000000 |
P |
0 |
N |
N |
N |
| 86285 |
Horizontal Double Panel Radiator 600 x 412mm |
Roxor |
195.83000000 |
P |
0 |
N |
N |
N |
| 86265 |
Horizontal Single Panel Radiator 600 x 586mm |
Roxor |
185.83000000 |
P |
0 |
N |
N |
N |
| 86286 |
Horizontal Single Panel Radiator 600 x 586mm |
Roxor |
185.83000000 |
P |
0 |
N |
N |
N |
| 86242 |
Curved Ladder Rail 1100 x 500mm |
Roxor |
170.00000000 |
P |
0 |
N |
N |
N |
| 86293 |
Horizontal Single Panel Radiator 600 x 412mm |
Roxor |
170.00000000 |
P |
0 |
N |
N |
N |
| 86319 |
Horizontal Single Panel Radiator 600 x 412mm |
Roxor |
170.00000000 |
P |
0 |
N |
N |
N |
| 86240 |
Straight Ladder Rail 1100 x 500mm |
Roxor |
165.00000000 |
P |
0 |
N |
N |
N |
| 86263 |
Horizontal Single Panel Radiator 600 x 412mm |
Roxor |
140.00000000 |
P |
0 |
N |
N |
N |
| 86284 |
Horizontal Single Panel Radiator 600 x 412mm |
Roxor |
140.00000000 |
P |
0 |
N |
N |
N |
| 87739 |
Curved Ladder Rail 1150 x 500mm |
Roxor |
135.83000000 |
P |
0 |
N |
N |
N |
| 87740 |
Straight Ladder Rail 1150 x 500mm |
Roxor |
125.83000000 |
P |
0 |
N |
N |
N |
| 86239 |
Straight Ladder Rail 500 x 700mm |
Roxor |
118.33000000 |
P |
0 |
N |
N |
N |
| 86241 |
Curved Ladder Rail 500 x 700mm |
Roxor |
117.50000000 |
P |
0 |
N |
N |
N |
| 87737 |
Curved Ladder Rail 700 x 500mm |
Roxor |
90.00000000 |
P |
0 |
N |
N |
N |
| 87738 |
Straight Ladder Rail 700 x 500mm |
Roxor |
90.00000000 |
P |
0 |
N |
N |
N |
| 93401 |
HK15012 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 93402 |
HK15080 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 93403 |
HK35012 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 93404 |
HK35080 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 93405 |
HK45012 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 93406 |
HK45080 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94678 |
BAYR001 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94679 |
BAYR002 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94680 |
BAYR003 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94681 |
BAYR004 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94682 |
BAYR008 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94683 |
BAYR009 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94684 |
BAYR010 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 94685 |
BAYR011 |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95101 |
RL704N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95102 |
RL705MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95103 |
RL705N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95104 |
RL706N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95105 |
RL707N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95106 |
RL709MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95107 |
RL709N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95108 |
RLL307MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95109 |
RLL307N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95110 |
RLL308MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95111 |
RLL310MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95112 |
RLL310N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95113 |
RLL312N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95114 |
RLL316MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95115 |
RLL316N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95116 |
RLL408MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95117 |
RLL408N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95118 |
RLL412MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95119 |
RLL414MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95120 |
RLL414N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95121 |
RLL416N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95122 |
RLL418MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95123 |
RLL418N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95124 |
RLL507MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95125 |
RLL507N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95126 |
RLL508ANT-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95127 |
RLL508MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95128 |
RLL508N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95129 |
RLL511N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95130 |
RLL512ANT-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95131 |
RLL515MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95132 |
RLL515N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95133 |
RLL516MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95134 |
RLL516N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95135 |
RLL518MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95136 |
RLL607MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95137 |
RLL607N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95138 |
RLL608MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95139 |
RLL608N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95140 |
RLL610N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95141 |
RLL611MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95142 |
RLL611N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95143 |
RLL612N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95144 |
RLL614MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95145 |
RLL614N-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |
| 95146 |
RLL615MB-K |
Roxor |
0.00000000 |
P |
0 |
N |
N |
N |