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 (
    256, 253, 254, 425, 251, 252, 426, 599, 
    600, 601, 257, 258, 525, 255, 526, 602, 
    603, 604, 261, 262, 259, 260, 403, 404, 
    265, 266, 263, 264, 405, 406, 267, 268
  ) 
  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.00052

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_product_prices",
      "access_type": "range",
      "possible_keys": ["usergroup", "product_id", "lower_limit", "usergroup_id"],
      "key": "product_id",
      "key_length": "3",
      "used_key_parts": ["product_id"],
      "rows": 66,
      "filtered": 96.96969604,
      "index_condition": "cscart_product_prices.product_id in (256,253,254,425,251,252,426,599,600,601,257,258,525,255,526,602,603,604,261,262,259,260,403,404,265,266,263,264,405,406,267,268)",
      "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
251 35620.00000000
252 35620.00000000
253 43190.00000000
254 35620.00000000
255 36840.00000000
256 36840.00000000
257 36840.00000000
258 36840.00000000
259 45600.00000000
260 45600.00000000
261 46540.00000000
262 46540.00000000
263 51070.00000000
264 51070.00000000
265 52010.00000000
266 52010.00000000
267 36210.00000000
268 40730.00000000
403 59360.00000000
404 60300.00000000
405 66890.00000000
406 67830.00000000
425 35620.00000000
426 35620.00000000
525 36840.00000000
526 36840.00000000
599 48050.00000000
600 48990.00000000
601 48990.00000000
602 48050.00000000
603 48990.00000000
604 48990.00000000