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 (
    362, 2329, 1603, 2304, 369, 2351, 2390, 
    363, 2407, 1519, 2393, 1768
  ) 
  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.00049

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": 12,
      "filtered": 99.82517242,
      "index_condition": "cscart_product_prices.product_id in (362,2329,1603,2304,369,2351,2390,363,2407,1519,2393,1768)",
      "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
362 41728.720000
363 41728.720000
369 48683.540000
1519 11031.680000
1603 10552.120000
1768 11031.680000
2304 67629.150000
2329 6750.000000
2351 131354.160000
2390 14092.680000
2393 14092.680000
2407 2296.270000