{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "13.31"
},
"grouping_operation": {
"using_filesort": false,
"table": {
"table_name": "cscart_product_prices",
"access_type": "range",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id"
],
"key": "product_id",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"rows_examined_per_scan": 19,
"rows_produced_per_join": 3,
"filtered": "19.94",
"index_condition": "(`wearethehelpful_scalesta_net`.`cscart_product_prices`.`product_id` in (1092,967,966,965,946,517,516,515,478,477,476,475,474,428,427,400,399,398,356))",
"cost_info": {
"read_cost": "12.93",
"eval_cost": "0.38",
"prefix_cost": "13.31",
"data_read_per_join": "90"
},
"used_columns": [
"product_id",
"price",
"percentage_discount",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`wearethehelpful_scalesta_net`.`cscart_product_prices`.`lower_limit` = 1) and (`wearethehelpful_scalesta_net`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
}
}
}
}
| product_id | price |
|---|---|
| 356 | 16.00000000 |
| 398 | 50.00000000 |
| 399 | 100.00000000 |
| 400 | 290.00000000 |
| 427 | 1450.00000000 |
| 428 | 740.00000000 |
| 474 | 58.00000000 |
| 475 | 38.00000000 |
| 476 | 65.00000000 |
| 477 | 36.00000000 |
| 478 | 36.00000000 |
| 515 | 75.00000000 |
| 516 | 75.00000000 |
| 517 | 75.00000000 |
| 946 | 20.00000000 |
| 965 | 570.00000000 |
| 966 | 950.00000000 |
| 967 | 950.00000000 |
| 1092 | 462.00000000 |