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 (
    410868, 407708, 457100, 449639, 427186, 
    434226, 429866, 402063, 434025, 453641, 
    414955, 407875
  ) 
  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 (410868,407708,457100,449639,427186,434226,429866,402063,434025,453641,414955,407875) and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
402063 1335.09000000
407708 620.16000000
407875 1400.49000000
410868 654.38000000
414955 818.58000000
427186 1850.65000000
429866 486.43000000
434025 490.51000000
434226 1617.73000000
449639 1640.64000000
453641 1526.70000000
457100 429.78000000