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 (
    440956, 412641, 412546, 429866, 429210, 
    458201, 402063, 434025, 447605, 453641, 
    414955, 445305
  ) 
  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.00068

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.050171963,
    "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": 50,
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.product_id in (440956,412641,412546,429866,429210,458201,402063,434025,447605,453641,414955,445305) and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
402063 1335.09000000
412546 421.22000000
412641 1341.74000000
414955 818.58000000
429210 957.19000000
429866 486.43000000
434025 490.51000000
440956 1722.63000000
445305 151.48000000
447605 560.42000000
453641 1526.70000000
458201 1374.15000000