{
"query_block": {
"select_id": 1,
"table": {
"table_name": "cscart_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"],
"rowid_filter": {
"range": {
"key": "product_id",
"used_key_parts": ["product_id", "usergroup_id", "lower_limit"]
},
"rows": 8,
"selectivity_pct": 6.349206349
},
"rows": 31,
"filtered": 6.349206448,
"index_condition": "cscart_product_prices.product_id in (145,87,93,169) and cscart_product_prices.usergroup_id in (0,1)",
"attached_condition": "cscart_product_prices.lower_limit <=> 1"
}
}
}
| product_id | price |
|---|---|
| 87 | 10000.000000 |
| 93 | 53333.000000 |
| 145 | 85714.000000 |
| 169 | 77142.860000 |