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 (
    421748, 421122, 417392, 431455, 406944, 
    412740, 424119, 412948, 446814, 438098, 
    417337, 414479
  ) 
  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.00071

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.050158501,
    "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": 24,
          "cost": 0.04252208,
          "filtered": 49.99988556,
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.product_id in (421748,421122,417392,431455,406944,412740,424119,412948,446814,438098,417337,414479) and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
406944 289.16000000
412740 1887.90000000
412948 368.70000000
414479 468.09000000
417337 346.73000000
417392 416.10000000
421122 352.44000000
421748 1468.29000000
424119 761.26000000
431455 611.31000000
438098 378.13000000
446814 69.85000000