{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "21.01"
},
"grouping_operation": {
"using_filesort": false,
"table": {
"table_name": "cscart_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": 30,
"rows_produced_per_join": 5,
"filtered": "19.99",
"index_condition": "(`test2_gaseus`.`cscart_product_prices`.`product_id` in (12464,12465,12466,12467,12468,12469,12470,12471,12472,12473,12474,12475,12476,12477,12478,12479,12480,12481,12482,12483,12484,12485,12486,12487,12488,12489,12490,12491,12492,12493))",
"cost_info": {
"read_cost": "20.41",
"eval_cost": "0.60",
"prefix_cost": "21.01",
"data_read_per_join": "143"
},
"used_columns": [
"product_id",
"price",
"percentage_discount",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`test2_gaseus`.`cscart_product_prices`.`lower_limit` = 1) and (`test2_gaseus`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
}
}
}
}
| product_id | price |
|---|---|
| 12464 | 1000.00000000 |
| 12465 | 1000.00000000 |
| 12466 | 1000.00000000 |
| 12467 | 1000.00000000 |
| 12468 | 1000.00000000 |
| 12469 | 1000.00000000 |
| 12470 | 1000.00000000 |
| 12471 | 1000.00000000 |
| 12472 | 1000.00000000 |
| 12473 | 1000.00000000 |
| 12474 | 1152.00000000 |
| 12475 | 1152.00000000 |
| 12476 | 1152.00000000 |
| 12477 | 1152.00000000 |
| 12478 | 1152.00000000 |
| 12479 | 1152.00000000 |
| 12480 | 1152.00000000 |
| 12481 | 1152.00000000 |
| 12482 | 1152.00000000 |
| 12483 | 1152.00000000 |
| 12484 | 1152.00000000 |
| 12485 | 1152.00000000 |
| 12486 | 1152.00000000 |
| 12487 | 1152.00000000 |
| 12488 | 1152.00000000 |
| 12489 | 1152.00000000 |
| 12490 | 1152.00000000 |
| 12491 | 1152.00000000 |
| 12492 | 1152.00000000 |
| 12493 | 1152.00000000 |