{
"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 (199,198,201,192,195,191,196,197,200,202,203,204,194) and vi_product_prices.usergroup_id in (0,1)"
}
}
]
}
}
}
}
| product_id | price |
|---|---|
| 191 | 11.98000000 |
| 192 | 15.00000000 |
| 194 | 10.60000000 |
| 195 | 29.99000000 |
| 196 | 17.00000000 |
| 197 | 14.98000000 |
| 198 | 17.99000000 |
| 199 | 29.98000000 |
| 200 | 26.92000000 |
| 201 | 12.67000000 |
| 202 | 34.68000000 |
| 203 | 34.68000000 |
| 204 | 14.99000000 |