{
"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 (114,108,104,121,103,112,97,116,111,110,118,123,119,100) and vi_product_prices.usergroup_id in (0,1)"
}
}
]
}
}
}
}
| product_id | price |
|---|---|
| 97 | 14.99000000 |
| 100 | 22.70000000 |
| 103 | 23.99000000 |
| 104 | 29.95000000 |
| 108 | 12.99000000 |
| 110 | 15.99000000 |
| 111 | 6.99000000 |
| 112 | 8.99000000 |
| 114 | 14.99000000 |
| 116 | 6.99000000 |
| 118 | 30.99000000 |
| 119 | 17.99000000 |
| 121 | 17.99000000 |
| 123 | 17.99000000 |