{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "12.11"
},
"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": 18,
"rows_produced_per_join": 3,
"filtered": "19.88",
"index_condition": "(`zdrowy_db`.`cscart_product_prices`.`product_id` in (1793,1794,1795,1796,1950,1448,1471,1449,2245,1151,1152,1153,1154,1615,1595,1216))",
"cost_info": {
"read_cost": "11.75",
"eval_cost": "0.36",
"prefix_cost": "12.11",
"data_read_per_join": "85"
},
"used_columns": [
"product_id",
"price",
"percentage_discount",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`zdrowy_db`.`cscart_product_prices`.`lower_limit` = 1) and (`zdrowy_db`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
}
}
}
}
| product_id | price |
|---|---|
| 1151 | 79.00000000 |
| 1152 | 72.00000000 |
| 1153 | 17.00000000 |
| 1154 | 68.00000000 |
| 1216 | 39.00000000 |
| 1448 | 94.00000000 |
| 1449 | 94.00000000 |
| 1471 | 94.00000000 |
| 1595 | 85.00000000 |
| 1615 | 100.00000000 |
| 1793 | 235.00000000 |
| 1794 | 235.00000000 |
| 1795 | 235.00000000 |
| 1796 | 235.00000000 |
| 1950 | 120.00000000 |
| 2245 | 154.00000000 |