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 (
    1540, 2082, 2404, 1516, 2405, 1545, 352, 
    2092, 2400, 366, 1517, 356
  ) 
  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.00050

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 (1540,2082,2404,1516,2405,1545,352,2092,2400,366,1517,356)",
      "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
352 47964.000000
356 42208.280000
366 52280.840000
1516 10552.120000
1517 10552.120000
1540 67629.150000
1545 47964.000000
2082 70507.120000
2092 41160.000000
2400 13507.470000
2404 15852.840000
2405 14092.680000