Query time 0.01558
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "16.62"
},
"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": 4,
"rows_produced_per_join": 0,
"filtered": "4.00",
"cost_info": {
"read_cost": "1.80",
"eval_cost": "0.02",
"prefix_cost": "1.81",
"data_read_per_join": "427"
},
"used_columns": [
"category_id",
"usergroup_ids",
"status",
"storefront_id"
],
"attached_condition": "((`nuie_scalesta_net`.`cscart_categories`.`category_id` in (7158,7159,7247,7263)) 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.34",
"eval_cost": "0.03",
"prefix_cost": "2.18",
"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": 31,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.08",
"eval_cost": "3.14",
"prefix_cost": "5.39",
"data_read_per_join": "501"
},
"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": "4.71",
"eval_cost": "0.16",
"prefix_cost": "13.23",
"data_read_per_join": "7K"
},
"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.24",
"eval_cost": "0.16",
"prefix_cost": "13.62",
"data_read_per_join": "5K"
},
"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.40",
"eval_cost": "0.26",
"prefix_cost": "16.62",
"data_read_per_join": "61"
},
"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 |
| 92401 |
Victrion Ornate Stand 640 Basin |
Roxor |
1730.83000000 |
P |
0 |
N |
N |
N |
| 92402 |
Victrion Ornate Stand 640 Basin |
Roxor |
1730.83000000 |
P |
0 |
N |
N |
N |
| 92403 |
Victrion Ornate Stand 640 Basin |
Roxor |
1730.83000000 |
P |
0 |
N |
N |
N |
| 92404 |
Victrion Ornate Stand 640 Basin |
Roxor |
1730.83000000 |
P |
0 |
N |
N |
N |
| 92405 |
Victrion Ornate Stand 640 Basin |
Roxor |
1730.83000000 |
P |
0 |
N |
N |
N |
| 92406 |
Victrion Ornate Stand 640 Basin |
Roxor |
1730.83000000 |
P |
0 |
N |
N |
N |
| 92407 |
Victrion Ornate Stand 640 Basin |
Roxor |
1730.83000000 |
P |
0 |
N |
N |
N |
| 92400 |
Victrion Ornate Stand 540 or 640 Basin |
Roxor |
997.50000000 |
P |
0 |
N |
N |
N |
| 92417 |
Victrion Basin Stand Plain (640 Basin) |
Roxor |
969.17000000 |
P |
0 |
N |
N |
N |
| 92418 |
Victrion Basin Stand Plain (640 Basin) |
Roxor |
969.17000000 |
P |
0 |
N |
N |
N |
| 92419 |
Victrion Basin Stand Plain (640 Basin) |
Roxor |
969.17000000 |
P |
0 |
N |
N |
N |
| 92420 |
Victrion Basin Stand Plain (640 Basin) |
Roxor |
969.17000000 |
P |
0 |
N |
N |
N |
| 92421 |
Victrion Basin Stand Plain (640 Basin) |
Roxor |
969.17000000 |
P |
0 |
N |
N |
N |
| 92422 |
Victrion Basin Stand Plain (640 Basin) |
Roxor |
969.17000000 |
P |
0 |
N |
N |
N |
| 92416 |
Victrion Basin Stand Plain (640 Basin) |
Roxor |
787.50000000 |
P |
0 |
N |
N |
N |
| 85647 |
Wastes & Extras High Level Flush Pipe Pack |
Roxor |
410.83000000 |
P |
0 |
N |
N |
N |
| 88094 |
Richmond Basin Stand |
Roxor |
349.17000000 |
P |
0 |
N |
N |
N |
| 88093 |
Richmond Washstand |
Roxor |
300.83000000 |
P |
0 |
N |
N |
N |
| 89173 |
Standard Wall Frame |
Roxor |
290.00000000 |
P |
0 |
N |
N |
N |
| 90321 |
Cisterns Round Dual Flush Push Button |
Roxor |
278.33000000 |
P |
0 |
N |
N |
N |
| 90322 |
Cisterns Square Dual Flush Push Button |
Roxor |
278.33000000 |
P |
0 |
N |
N |
N |
| 92424 |
Victrion Black Matt Toilet Seat S/Close |
Roxor |
225.00000000 |
P |
0 |
N |
N |
N |
| 92425 |
Victrion Black Matt Toilet Seat S/Close |
Roxor |
225.00000000 |
P |
0 |
N |
N |
N |
| 92426 |
Victrion Black Matt Toilet Seat S/Close |
Roxor |
225.00000000 |
P |
0 |
N |
N |
N |
| 92427 |
Victrion Black Matt Toilet Seat S/Close |
Roxor |
225.00000000 |
P |
0 |
N |
N |
N |
| 92428 |
Victrion Black Matt Toilet Seat S/Close |
Roxor |
225.00000000 |
P |
0 |
N |
N |
N |
| 92429 |
Victrion Black Matt Toilet Seat S/Close |
Roxor |
225.00000000 |
P |
0 |
N |
N |
N |
| 92431 |
Victrion Black Matt Toilet Seat S/Close |
Roxor |
225.00000000 |
P |
0 |
N |
N |
N |
| 92432 |
Victrion White Matt Toilet Seat S/Close |
Roxor |
216.67000000 |
P |
0 |
N |
N |
N |
| 92433 |
Victrion White Matt Toilet Seat S/Close |
Roxor |
216.67000000 |
P |
0 |
N |
N |
N |
| 92434 |
Victrion White Matt Toilet Seat S/Close |
Roxor |
216.67000000 |
P |
0 |
N |
N |
N |
| 92435 |
Victrion White Matt Toilet Seat S/Close |
Roxor |
216.67000000 |
P |
0 |
N |
N |
N |
| 92436 |
Victrion White Matt Toilet Seat S/Close |
Roxor |
216.67000000 |
P |
0 |
N |
N |
N |
| 92437 |
Victrion White Matt Toilet Seat S/Close |
Roxor |
216.67000000 |
P |
0 |
N |
N |
N |
| 92438 |
Victrion White Matt Toilet Seat S/Close |
Roxor |
216.67000000 |
P |
0 |
N |
N |
N |
| 87252 |
Chancery Top Fix Soft Close Toilet Seat |
Roxor |
181.67000000 |
P |
0 |
N |
N |
N |
| 87253 |
Richmond Top Fix Soft Close Toilet Seat |
Roxor |
181.67000000 |
P |
0 |
N |
N |
N |
| 87254 |
Chancery Top Fix Soft Close Toilet Seat |
Roxor |
181.67000000 |
P |
0 |
N |
N |
N |
| 87255 |
Richmond Top Fix Soft Close Toilet Seat |
Roxor |
181.67000000 |
P |
0 |
N |
N |
N |
| 87256 |
Chancery Top Fix Soft Close Toilet Seat |
Roxor |
181.67000000 |
P |
0 |
N |
N |
N |
| 87257 |
Richmond Top Fix Soft Close Toilet Seat |
Roxor |
181.67000000 |
P |
0 |
N |
N |
N |
| 87258 |
Chancery Ryther Toilet Seat |
Roxor |
181.67000000 |
P |
0 |
N |
N |
N |
| 87259 |
Richmond Carlton Toilet Seat |
Roxor |
181.67000000 |
P |
0 |
N |
N |
N |
| 88102 |
Toilet Seats Chancery Toilet Seat |
Roxor |
181.67000000 |
P |
0 |
N |
N |
N |
| 88103 |
Toilet Seats Richmond Toilet Seat |
Roxor |
181.67000000 |
P |
0 |
N |
N |
N |
| 90325 |
Ceramics Accessories Pneumatic Dual Flush Universal Access Concealed Cistern |
Roxor |
149.17000000 |
P |
0 |
N |
N |
N |
| 92409 |
Towel Rail for Ornate Basin Stand |
Roxor |
141.67000000 |
P |
0 |
N |
N |
N |
| 92410 |
Towel Rail for Ornate Basin Stand |
Roxor |
141.67000000 |
P |
0 |
N |
N |
N |
| 92411 |
Towel Rail for Ornate Basin Stand |
Roxor |
141.67000000 |
P |
0 |
N |
N |
N |
| 92412 |
Towel Rail for Ornate Basin Stand |
Roxor |
141.67000000 |
P |
0 |
N |
N |
N |
| 92413 |
Towel Rail for Ornate Basin Stand |
Roxor |
141.67000000 |
P |
0 |
N |
N |
N |
| 92414 |
Towel Rail for Ornate Basin Stand |
Roxor |
141.67000000 |
P |
0 |
N |
N |
N |
| 92415 |
Towel Rail for Ornate Basin Stand |
Roxor |
141.67000000 |
P |
0 |
N |
N |
N |
| 85599 |
Wastes & Extras Square Bottle Trap & Extension Tube |
Roxor |
135.00000000 |
P |
0 |
N |
N |
N |
| 92430 |
Victrion Matt Black Soft close Toilet Seat |
Roxor |
131.67000000 |
P |
0 |
N |
N |
N |
| 92439 |
Victrion White Gloss Soft close Toilet Seat |
Roxor |
126.67000000 |
P |
0 |
N |
N |
N |
| 90324 |
Ceramics Accessories Pneumatic Dual Flush Universal Access Concealed Cistern |
Roxor |
124.17000000 |
P |
0 |
N |
N |
N |
| 90326 |
Ceramics Accessories Pneumatic Dual Flush Universal Access Concealed Cistern |
Roxor |
124.17000000 |
P |
0 |
N |
N |
N |
| 85596 |
Wastes & Extras Square Bottle Trap & Extension Tube |
Roxor |
121.67000000 |
P |
0 |
N |
N |
N |
| 90323 |
Ceramics Accessories Pneumatic Dual Flush Universal Access Concealed Cistern |
Roxor |
115.83000000 |
P |
0 |
N |
N |
N |
| 85598 |
Wastes & Extras Minimalist Bottle Trap |
Roxor |
113.33000000 |
P |
0 |
N |
N |
N |
| 90329 |
Universal Access Cistern & Matt Black Square Flush Plate |
Roxor |
108.33000000 |
P |
0 |
N |
N |
N |
| 90330 |
Universal Access Cistern & Brushed Brass Square Flush Plate |
Roxor |
108.33000000 |
P |
0 |
N |
N |
N |
| 90331 |
Ceramics Accessories Concealed Cistern & Square Push Button |
Roxor |
108.33000000 |
P |
0 |
N |
N |
N |
| 90333 |
Universal Access Cistern & Matt Black Traditional Flush Plate |
Roxor |
108.33000000 |
P |
0 |
N |
N |
N |
| 90334 |
Universal Access Cistern & Brushed Brass Traditional Flush Plate |
Roxor |
108.33000000 |
P |
0 |
N |
N |
N |
| 90337 |
Universal Access Cistern & Matt Black Square Flush Plate |
Roxor |
108.33000000 |
P |
0 |
N |
N |
N |
| 90338 |
Universal Access Cistern & Black Square Flush Plate |
Roxor |
108.33000000 |
P |
0 |
N |
N |
N |
| 90339 |
Universal Access Cistern & Brushed Brass Square Flush Plate |
Roxor |
108.33000000 |
P |
0 |
N |
N |
N |
| 90340 |
Universal Access Cistern & Brushed Brass Flush Plate |
Roxor |
108.33000000 |
P |
0 |
N |
N |
N |
| 90341 |
Ceramics Accessories Concealed Cistern & Square Push Button |
Roxor |
108.33000000 |
P |
0 |
N |
N |
N |
| 90342 |
Ceramics Accessories Dual Flush Cistern & Square Push Button |
Roxor |
108.33000000 |
P |
0 |
N |
N |
N |
| 90345 |
Universal Access Cistern & Matt Black Traditional Flush Plate |
Roxor |
108.33000000 |
P |
0 |
N |
N |
N |
| 90346 |
Universal Access Cistern & Matt Black Traditional Flush Plate |
Roxor |
108.33000000 |
P |
0 |
N |
N |
N |
| 90347 |
Universal Access Cistern & Brushed Brass Traditional Flush Plate |
Roxor |
108.33000000 |
P |
0 |
N |
N |
N |
| 90348 |
Universal Access Cistern & Brushed Brass Traditional Flush Plate |
Roxor |
108.33000000 |
P |
0 |
N |
N |
N |
| 85590 |
Large Traditional Handset |
Roxor |
107.50000000 |
P |
0 |
N |
N |
N |
| 85595 |
Wastes & Extras Minimalist Bottle Trap |
Roxor |
103.33000000 |
P |
0 |
N |
N |
N |
| 84775 |
Classique Soft Close Wooden Toilet Seat |
Roxor |
101.67000000 |
P |
0 |
N |
N |
N |
| 84779 |
Classique Soft Close Wooden Toilet Seat |
Roxor |
101.67000000 |
P |
0 |
N |
N |
N |
| 84788 |
Classique Soft Close Wooden Toilet Seat |
Roxor |
101.67000000 |
P |
0 |
N |
N |
N |
| 84797 |
Classique Soft Close Wooden Toilet Seat |
Roxor |
101.67000000 |
P |
0 |
N |
N |
N |
| 85643 |
Richmond Mid Level Flush Pipe Kit |
Roxor |
100.83000000 |
P |
0 |
N |
N |
N |
| 88070 |
Maya Soft Close Seat |
Roxor |
97.50000000 |
P |
0 |
N |
N |
N |
| 88394 |
Toilet Seats Traditional Toilet Seat Chrome Hinges |
Roxor |
96.67000000 |
P |
0 |
N |
N |
N |
| 90328 |
Universal Access Cistern & Chrome Square Flush Plate |
Roxor |
95.83000000 |
P |
0 |
N |
N |
N |
| 90332 |
Universal Access Cistern & Chrome Traditional Flush Plate |
Roxor |
95.83000000 |
P |
0 |
N |
N |
N |
| 90335 |
Universal Access Cistern & Chrome Square Flush Plate |
Roxor |
95.83000000 |
P |
0 |
N |
N |
N |
| 90336 |
Universal Access Cistern & Chrome Square Flush Plate |
Roxor |
95.83000000 |
P |
0 |
N |
N |
N |
| 90343 |
Universal Access Cistern & Chrome Traditional Flush Plate |
Roxor |
95.83000000 |
P |
0 |
N |
N |
N |
| 90344 |
Universal Access Cistern & Chrome Traditional Flush Plate |
Roxor |
95.83000000 |
P |
0 |
N |
N |
N |
| 85586 |
Large Traditional Handset |
Roxor |
89.17000000 |
P |
0 |
N |
N |
N |
| 87962 |
Ambrose Square Soft Close Seat |
Roxor |
87.50000000 |
P |
0 |
N |
N |
N |
| 88079 |
Maya Soft Close Seat |
Roxor |
87.50000000 |
P |
0 |
N |
N |
N |
| 88084 |
Arlo Soft Close Seat |
Roxor |
87.50000000 |
P |
0 |
N |
N |
N |
| 90327 |
Ceramics Accessories Pneumatic Dual Flush Universal Access Concealed Cistern |
Roxor |
82.50000000 |
P |
0 |
N |
N |
N |