{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "19.53"
},
"grouping_operation": {
"using_filesort": false,
"table": {
"table_name": "product_prices",
"access_type": "range",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id"
],
"key": "product_id",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"rows_examined_per_scan": 24,
"rows_produced_per_join": 2,
"filtered": "10.00",
"index_condition": "(`goimagine`.`product_prices`.`product_id` in (380465,380470,380472,380473,380476,380508,381231,381232,381248,381259,381262,381790,381809,381825,381827,381832,381834,382560,382585,383096,383141,383151,383154,383157))",
"cost_info": {
"read_cost": "19.29",
"eval_cost": "0.24",
"prefix_cost": "19.53",
"data_read_per_join": "57"
},
"used_columns": [
"id",
"product_id",
"price",
"percentage_discount",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`goimagine`.`product_prices`.`lower_limit` = 1) and (`goimagine`.`product_prices`.`usergroup_id` in (0,1)))"
}
}
}
}
| product_id | price |
|---|---|
| 380465 | 2.45000000 |
| 380470 | 2.45000000 |
| 380472 | 2.45000000 |
| 380473 | 2.45000000 |
| 380476 | 2.45000000 |
| 380508 | 15.00000000 |
| 381231 | 2.45000000 |
| 381232 | 2.45000000 |
| 381248 | 2.45000000 |
| 381259 | 2.45000000 |
| 381262 | 2.45000000 |
| 381790 | 2.45000000 |
| 381809 | 18.00000000 |
| 381825 | 18.00000000 |
| 381827 | 20.00000000 |
| 381832 | 18.00000000 |
| 381834 | 18.00000000 |
| 382560 | 15.00000000 |
| 382585 | 18.00000000 |
| 383096 | 20.00000000 |
| 383141 | 2.45000000 |
| 383151 | 2.45000000 |
| 383154 | 18.00000000 |
| 383157 | 2.45000000 |