{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_product_prices.product_id",
"temporary_table": {
"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"]
},
"rows": 36,
"selectivity_pct": 14.22924901
},
"rows": 234,
"filtered": 5.399240494,
"attached_condition": "cscart_product_prices.lower_limit <=> 1 and cscart_product_prices.product_id in (238,239,245,242,243,65,64,63,66,62,134,135,33,32,246,71,70,69,68,67,155,153,154,190) and cscart_product_prices.usergroup_id in (0,1)"
}
}
}
}
}
| product_id | price |
|---|---|
| 32 | 36000.000000 |
| 33 | 20400.000000 |
| 62 | 25200.000000 |
| 63 | 22800.000000 |
| 64 | 22800.000000 |
| 65 | 12000.000000 |
| 66 | 46800.000000 |
| 67 | 40800.000000 |
| 68 | 96000.000000 |
| 69 | 63600.000000 |
| 70 | 60000.000000 |
| 71 | 63600.000000 |
| 134 | 10800.000000 |
| 135 | 0.000000 |
| 153 | 6000.000000 |
| 154 | 48000.000000 |
| 155 | 9600.000000 |
| 190 | 108000.000000 |
| 238 | 66240.000000 |
| 239 | 66240.000000 |
| 242 | 29880.000000 |
| 243 | 29880.000000 |
| 245 | 699.000000 |
| 246 | 48000.000000 |