{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "11.27"
},
"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": 15,
"rows_produced_per_join": 1,
"filtered": "10.00",
"index_condition": "(`goimagine`.`product_prices`.`product_id` in (138953,22374,41507,19942,29976,22970,23144,19919,34981,212181,17299,40966))",
"cost_info": {
"read_cost": "11.12",
"eval_cost": "0.15",
"prefix_cost": "11.27",
"data_read_per_join": "35"
},
"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 |
|---|---|
| 17299 | 34.95000000 |
| 19919 | 24.95000000 |
| 19942 | 34.95000000 |
| 22374 | 24.95000000 |
| 22970 | 29.95000000 |
| 23144 | 34.95000000 |
| 29976 | 19.95000000 |
| 34981 | 24.95000000 |
| 40966 | 44.95000000 |
| 41507 | 16.95000000 |
| 138953 | 39.95000000 |
| 212181 | 29.95000000 |