{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "12.56"
},
"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": 19,
"rows_produced_per_join": 3,
"filtered": "19.84",
"index_condition": "(`marketplace`.`ushop_product_prices`.`product_id` in (428,307,429,415,424,421,308,309,306,414,426,425,423,422,420,412))",
"cost_info": {
"read_cost": "12.18",
"eval_cost": "0.38",
"prefix_cost": "12.56",
"data_read_per_join": "90"
},
"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 |
|---|---|
| 306 | 799.99000000 |
| 307 | 599.99000000 |
| 308 | 449.99000000 |
| 309 | 599.99000000 |
| 412 | 269.99000000 |
| 414 | 89.99000000 |
| 415 | 0.00000000 |
| 420 | 99.95000000 |
| 421 | 99.95000000 |
| 422 | 399.95000000 |
| 423 | 79.95000000 |
| 424 | 99.95000000 |
| 425 | 79.99000000 |
| 426 | 44.99000000 |
| 428 | 50.00000000 |
| 429 | 53.99000000 |