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 (
    427542, 408429, 447154, 419276, 421080, 
    437947, 413185, 419295, 403213, 403380, 
    408359, 409393, 430349, 453094, 411903, 
    422798, 422092, 433129, 424917, 459596, 
    425363, 441519, 434875, 460167
  ) 
  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.00154

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.099614043,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_prices",
          "access_type": "range",
          "possible_keys": [
            "usergroup",
            "product_id",
            "lower_limit",
            "usergroup_id"
          ],
          "key": "usergroup",
          "key_length": "9",
          "used_key_parts": ["product_id", "usergroup_id", "lower_limit"],
          "loops": 1,
          "rows": 48,
          "cost": 0.08425304,
          "filtered": 50,
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.product_id in (427542,408429,447154,419276,421080,437947,413185,419295,403213,403380,408359,409393,430349,453094,411903,422798,422092,433129,424917,459596,425363,441519,434875,460167) and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
403213 1083.26000000
403380 1257.69000000
408359 755.42000000
408429 1071.88000000
409393 116.85000000
411903 1009.76000000
413185 517.27000000
419276 444.64000000
419295 1881.37000000
421080 897.75000000
422092 1193.86000000
422798 149.58000000
424917 159.75000000
425363 36.49000000
427542 1574.34000000
430349 1550.16000000
433129 742.49000000
434875 977.05000000
437947 824.03000000
441519 1402.54000000
447154 504.51000000
453094 1880.81000000
459596 771.66000000
460167 445.01000000