{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "9.11"
},
"grouping_operation": {
"using_filesort": false,
"table": {
"table_name": "ushop_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": 13,
"rows_produced_per_join": 2,
"filtered": "19.85",
"index_condition": "(`marketplace`.`ushop_product_prices`.`product_id` in (370,375,376,372,364,371,369,378,377,365,367,366,331))",
"cost_info": {
"read_cost": "8.85",
"eval_cost": "0.26",
"prefix_cost": "9.11",
"data_read_per_join": "61"
},
"used_columns": [
"product_id",
"price",
"percentage_discount",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`marketplace`.`ushop_product_prices`.`lower_limit` = 1) and (`marketplace`.`ushop_product_prices`.`usergroup_id` in (0,1)))"
}
}
}
}
| product_id | price |
|---|---|
| 331 | 29.99000000 |
| 364 | 19.99000000 |
| 365 | 19.99000000 |
| 366 | 19.99000000 |
| 367 | 19.99000000 |
| 369 | 19.99000000 |
| 370 | 39.99000000 |
| 371 | 19.99000000 |
| 372 | 19.99000000 |
| 375 | 19.99000000 |
| 376 | 59.99000000 |
| 377 | 19.99000000 |
| 378 | 99.99000000 |