{
"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 (603,601,599,605,922,926,913,932,933,675,911,914))",
"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 |
|---|---|
| 599 | 26300.00000000 |
| 601 | 28230.00000000 |
| 603 | 19170.00000000 |
| 605 | 14700.00000000 |
| 675 | 14412.00000000 |
| 911 | 38764.00000000 |
| 913 | 29617.00000000 |
| 914 | 33926.00000000 |
| 922 | 34318.00000000 |
| 926 | 32456.00000000 |
| 932 | 33550.00000000 |
| 933 | 24597.00000000 |