{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "18.28"
},
"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 (410298,410299,410835,410876,411603,411613,411637,412137,412145,412166,412170,412191,412193,412196,412922,412930,412957,413457,414272,414805,414816,414841,415539,415546))",
"cost_info": {
"read_cost": "18.04",
"eval_cost": "0.24",
"prefix_cost": "18.28",
"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 |
|---|---|
| 410298 | 18.00000000 |
| 410299 | 6.35000000 |
| 410835 | 18.00000000 |
| 410876 | 15.00000000 |
| 411603 | 18.00000000 |
| 411613 | 18.00000000 |
| 411637 | 18.00000000 |
| 412137 | 20.00000000 |
| 412145 | 18.00000000 |
| 412166 | 2.45000000 |
| 412170 | 18.00000000 |
| 412191 | 2.45000000 |
| 412193 | 18.00000000 |
| 412196 | 15.00000000 |
| 412922 | 18.00000000 |
| 412930 | 18.00000000 |
| 412957 | 18.00000000 |
| 413457 | 20.00000000 |
| 414272 | 2.45000000 |
| 414805 | 15.00000000 |
| 414816 | 2.45000000 |
| 414841 | 6.35000000 |
| 415539 | 21.00000000 |
| 415546 | 2.45000000 |