{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "vi_product_prices.product_id",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "vi_product_prices",
"access_type": "ref",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id"
],
"key": "lower_limit",
"key_length": "3",
"used_key_parts": ["lower_limit"],
"ref": ["const"],
"rows": 255,
"filtered": 100,
"attached_condition": "vi_product_prices.lower_limit <=> 1 and vi_product_prices.product_id in (12,78,79,11,41,81,107,109,91,92,34,15,31,38,80,102,28,280,282,278) and vi_product_prices.usergroup_id in (0,1)"
}
}
]
}
}
}
}
| product_id | price |
|---|---|
| 11 | 30.00000000 |
| 12 | 30.00000000 |
| 15 | 150.00000000 |
| 28 | 100.00000000 |
| 31 | 32.00000000 |
| 34 | 25.00000000 |
| 38 | 16.97000000 |
| 41 | 35.00000000 |
| 78 | 100.00000000 |
| 79 | 96.00000000 |
| 80 | 55.00000000 |
| 81 | 49.50000000 |
| 91 | 10700.00000000 |
| 92 | 3225.00000000 |
| 102 | 295.00000000 |
| 107 | 465.00000000 |
| 109 | 140.00000000 |
| 278 | 30.00000000 |
| 280 | 36.00000000 |
| 282 | 27.99000000 |