{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "21.19"
},
"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 (120610,120595,120598,120606,120603,144383,144387,195555,120609,120601,120604,216344,120614,120596,144381,182695,216291,120597,195556,144384,180765,216289,120612,144382))",
"cost_info": {
"read_cost": "20.95",
"eval_cost": "0.24",
"prefix_cost": "21.19",
"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 |
|---|---|
| 120595 | 44.95000000 |
| 120596 | 44.95000000 |
| 120597 | 44.95000000 |
| 120598 | 34.95000000 |
| 120601 | 44.95000000 |
| 120603 | 44.95000000 |
| 120604 | 44.95000000 |
| 120606 | 44.95000000 |
| 120609 | 34.95000000 |
| 120610 | 29.95000000 |
| 120612 | 34.95000000 |
| 120614 | 44.95000000 |
| 144381 | 22.95000000 |
| 144382 | 44.95000000 |
| 144383 | 29.95000000 |
| 144384 | 29.95000000 |
| 144387 | 24.95000000 |
| 180765 | 29.95000000 |
| 182695 | 39.95000000 |
| 195555 | 64.95000000 |
| 195556 | 64.95000000 |
| 216289 | 9.99000000 |
| 216291 | 9.99000000 |
| 216344 | 9.99000000 |