{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "19.72"
},
"grouping_operation": {
"using_filesort": false,
"table": {
"table_name": "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": 24,
"rows_produced_per_join": 2,
"filtered": "10.00",
"index_condition": "(`goimagine`.`product_prices`.`product_id` in (415685,420965,461889,492249,339124,364764,409085,434165,450569,475089,475649,476969,362884,402485,416245,417005,445289,368724,374764,396445,364204,374004,394565,417565))",
"cost_info": {
"read_cost": "19.48",
"eval_cost": "0.24",
"prefix_cost": "19.72",
"data_read_per_join": "57"
},
"used_columns": [
"id",
"product_id",
"price",
"percentage_discount",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`goimagine`.`product_prices`.`lower_limit` = 1) and (`goimagine`.`product_prices`.`usergroup_id` in (0,1)))"
}
}
}
}
| product_id | price |
|---|---|
| 339124 | 77.00000000 |
| 362884 | 77.00000000 |
| 364204 | 77.00000000 |
| 364764 | 77.00000000 |
| 368724 | 77.00000000 |
| 374004 | 77.00000000 |
| 374764 | 77.00000000 |
| 394565 | 77.00000000 |
| 396445 | 77.00000000 |
| 402485 | 77.00000000 |
| 409085 | 77.00000000 |
| 415685 | 77.00000000 |
| 416245 | 77.00000000 |
| 417005 | 77.00000000 |
| 417565 | 77.00000000 |
| 420965 | 77.00000000 |
| 434165 | 77.00000000 |
| 445289 | 77.00000000 |
| 450569 | 77.00000000 |
| 461889 | 77.00000000 |
| 475089 | 77.00000000 |
| 475649 | 77.00000000 |
| 476969 | 77.00000000 |
| 492249 | 77.00000000 |