{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "36.11"
},
"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": 48,
"rows_produced_per_join": 4,
"filtered": "10.00",
"index_condition": "(`goimagine`.`product_prices`.`product_id` in (212190,213341,204738,213340,204740,311173,315133,323613,410174,327013,468818,317773,370573,423934,439778,382453,407534,328333,363213,426014,374533,392254,338893,409414,439218,367173,462218,360013,368493,474098,369813,414134,474858,390374,410734,421294,488058,324373,373213,451098,414694,429974,495218,442418,357373,443738,311733,312493))",
"cost_info": {
"read_cost": "35.63",
"eval_cost": "0.48",
"prefix_cost": "36.11",
"data_read_per_join": "115"
},
"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 |
|---|---|
| 204738 | 19.95000000 |
| 204740 | 9.95000000 |
| 212190 | 16.95000000 |
| 213340 | 8.95000000 |
| 213341 | 16.95000000 |
| 311173 | 19.95000000 |
| 311733 | 19.95000000 |
| 312493 | 19.95000000 |
| 315133 | 19.95000000 |
| 317773 | 19.95000000 |
| 323613 | 19.95000000 |
| 324373 | 19.95000000 |
| 327013 | 19.95000000 |
| 328333 | 19.95000000 |
| 338893 | 19.95000000 |
| 357373 | 19.95000000 |
| 360013 | 19.95000000 |
| 363213 | 19.95000000 |
| 367173 | 19.95000000 |
| 368493 | 19.95000000 |
| 369813 | 19.95000000 |
| 370573 | 19.95000000 |
| 373213 | 19.95000000 |
| 374533 | 19.95000000 |
| 382453 | 19.95000000 |
| 390374 | 19.95000000 |
| 392254 | 19.95000000 |
| 407534 | 19.95000000 |
| 409414 | 19.95000000 |
| 410174 | 19.95000000 |
| 410734 | 19.95000000 |
| 414134 | 19.95000000 |
| 414694 | 19.95000000 |
| 421294 | 19.95000000 |
| 423934 | 19.95000000 |
| 426014 | 19.95000000 |
| 429974 | 19.95000000 |
| 439218 | 19.95000000 |
| 439778 | 19.95000000 |
| 442418 | 19.95000000 |
| 443738 | 19.95000000 |
| 451098 | 19.95000000 |
| 462218 | 19.95000000 |
| 468818 | 19.95000000 |
| 474098 | 19.95000000 |
| 474858 | 19.95000000 |
| 488058 | 19.95000000 |
| 495218 | 19.95000000 |