{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "28.81"
},
"grouping_operation": {
"using_filesort": false,
"table": {
"table_name": "cscart_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": 12,
"rows_produced_per_join": 2,
"filtered": "19.91",
"index_condition": "(`cscart`.`cscart_product_prices`.`product_id` in (623,962,960,607,603,965,601,1013,802,797,796,813))",
"cost_info": {
"read_cost": "28.33",
"eval_cost": "0.48",
"prefix_cost": "28.81",
"data_read_per_join": "57"
},
"used_columns": [
"product_id",
"price",
"percentage_discount",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`cscart`.`cscart_product_prices`.`lower_limit` = 1) and (`cscart`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
}
}
}
}
| product_id | price |
|---|---|
| 601 | 28230.00000000 |
| 603 | 19170.00000000 |
| 607 | 19509.00000000 |
| 623 | 19871.00000000 |
| 796 | 32000.00000000 |
| 797 | 21380.00000000 |
| 802 | 67790.00000000 |
| 813 | 14670.00000000 |
| 960 | 11202.00000000 |
| 962 | 12220.00000000 |
| 965 | 13752.00000000 |
| 1013 | 77873.00000000 |