{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "16.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": 23,
"rows_produced_per_join": 2,
"filtered": "10.00",
"index_condition": "(`goimagine`.`product_prices`.`product_id` in (106825,109566,109282,109274,106845,109588,109283,107421,109556,109585,109275,109586,109565,109587,150995,109279,107417,107416,107418,246332,107419,246334,246333))",
"cost_info": {
"read_cost": "15.88",
"eval_cost": "0.23",
"prefix_cost": "16.11",
"data_read_per_join": "55"
},
"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 |
|---|---|
| 106825 | 27.00000000 |
| 106845 | 3.50000000 |
| 107416 | 27.00000000 |
| 107417 | 27.00000000 |
| 107418 | 27.00000000 |
| 107419 | 27.00000000 |
| 107421 | 27.00000000 |
| 109274 | 3.50000000 |
| 109275 | 3.50000000 |
| 109279 | 3.50000000 |
| 109282 | 3.50000000 |
| 109283 | 3.50000000 |
| 109556 | 3.50000000 |
| 109565 | 3.50000000 |
| 109566 | 3.50000000 |
| 109585 | 3.50000000 |
| 109586 | 3.50000000 |
| 109587 | 3.50000000 |
| 109588 | 3.50000000 |
| 150995 | 3.50000000 |
| 246332 | 3.50000000 |
| 246333 | 3.50000000 |
| 246334 | 3.50000000 |