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 (
    10418, 10419, 10420, 10421, 10434, 10436, 
    10450, 10453, 10459, 10466, 10470, 
    10471, 10472, 10473, 10477, 10478
  ) 
  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.00038

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": 16,
      "filtered": 99.99243927,
      "index_condition": "cscart_product_prices.product_id in (10418,10419,10420,10421,10434,10436,10450,10453,10459,10466,10470,10471,10472,10473,10477,10478)",
      "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
10418 18400.00000000
10419 400.00000000
10420 200.00000000
10421 125400.00000000
10434 400.00000000
10436 3800.00000000
10450 200.00000000
10453 0.00000000
10459 48100.00000000
10466 119100.00000000
10470 600.00000000
10471 12500.00000000
10472 12500.00000000
10473 400.00000000
10477 510400.00000000
10478 261000.00000000