SELECT 
  cscart_product_prices.product_id, 
  MIN(
    IF(
      cscart_product_prices.percentage_discount = 0, 
      cscart_product_prices.price, 
      cscart_product_prices.price - (
        cscart_product_prices.price * cscart_product_prices.percentage_discount
      )/ 100
    )
  ) AS price 
FROM 
  cscart_product_prices 
WHERE 
  cscart_product_prices.product_id IN (
    214, 217, 218, 207, 59, 58, 60, 199, 198, 
    94, 96, 201, 114, 192, 136, 130, 128, 
    126, 131, 177, 186, 185, 179, 11, 172, 
    134, 135, 195, 233, 168, 167, 169
  ) 
  AND cscart_product_prices.lower_limit = 1 
  AND cscart_product_prices.usergroup_id IN (0, 1) 
GROUP BY 
  cscart_product_prices.product_id

Query time 0.00113

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "45.53"
    },
    "grouping_operation": {
      "using_filesort": false,
      "table": {
        "table_name": "cscart_product_prices",
        "access_type": "ref",
        "possible_keys": [
          "usergroup",
          "product_id",
          "lower_limit",
          "usergroup_id"
        ],
        "key": "lower_limit",
        "used_key_parts": [
          "lower_limit"
        ],
        "key_length": "3",
        "ref": [
          "const"
        ],
        "rows_examined_per_scan": 182,
        "rows_produced_per_join": 18,
        "filtered": "10.00",
        "index_condition": "((`twebezli_Commercemodalpopup`.`cscart_product_prices`.`lower_limit` <=> 1) and ((`twebezli_Commercemodalpopup`.`cscart_product_prices`.`product_id` in (214,217,218,207,59,58,60,199,198,94,96,201,114,192,136,130,128,126,131,177,186,185,179,11,172,134,135,195,233,168,167,169)) and (`twebezli_Commercemodalpopup`.`cscart_product_prices`.`usergroup_id` in (0,1))))",
        "cost_info": {
          "read_cost": "9.00",
          "eval_cost": "3.65",
          "prefix_cost": "45.53",
          "data_read_per_join": "438"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ]
      }
    }
  }
}

Result

product_id price
11 30.00000000
58 779.00000000
59 599.00000000
60 1499.00000000
94 59.99000000
96 99.99000000
114 14.99000000
126 129.99000000
128 17.99000000
130 49.95000000
131 1249.00000000
134 89.99000000
135 0.00000000
136 0.00000000
167 549.95000000
168 1.00000000
169 749.95000000
172 299.99000000
177 400.00000000
179 299.97000000
185 139.99000000
186 299.99000000
192 15.00000000
195 29.99000000
198 17.99000000
199 29.98000000
201 12.67000000
207 42.00000000
214 972.00000000
217 610.99000000
218 459.99000000
233 47.99000000