{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "15.41"
},
"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": 22,
"rows_produced_per_join": 4,
"filtered": "20.00",
"index_condition": "(`gaseus`.`cscart_product_prices`.`product_id` in (11111,11112,11113,11114,11115,11116,11117,11118,11119,11120,11121,11122,11123,11124,11125,11126,11127,11128,11129,11130,11131,11132))",
"cost_info": {
"read_cost": "14.97",
"eval_cost": "0.44",
"prefix_cost": "15.41",
"data_read_per_join": "105"
},
"used_columns": [
"product_id",
"price",
"percentage_discount",
"lower_limit",
"usergroup_id"
],
"attached_condition": "((`gaseus`.`cscart_product_prices`.`lower_limit` = 1) and (`gaseus`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
}
}
}
}
| product_id | price |
|---|---|
| 11111 | 0.00000000 |
| 11112 | 0.00000000 |
| 11113 | 0.00000000 |
| 11114 | 0.00000000 |
| 11115 | 0.00000000 |
| 11116 | 0.00000000 |
| 11117 | 0.00000000 |
| 11118 | 0.00000000 |
| 11119 | 0.00000000 |
| 11120 | 0.00000000 |
| 11121 | 0.00000000 |
| 11122 | 0.00000000 |
| 11123 | 0.00000000 |
| 11124 | 0.00000000 |
| 11125 | 0.00000000 |
| 11126 | 0.00000000 |
| 11127 | 0.00000000 |
| 11128 | 0.00000000 |
| 11129 | 0.00000000 |
| 11130 | 0.00000000 |
| 11131 | 0.00000000 |
| 11132 | 0.00000000 |