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 (
    10256, 10257, 10274, 10275, 10282, 10285, 
    10293, 10294, 10295, 10297, 10301, 
    10303, 10306, 10307, 10309, 10315
  ) 
  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.00051

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 (10256,10257,10274,10275,10282,10285,10293,10294,10295,10297,10301,10303,10306,10307,10309,10315)",
      "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
10256 47700.00000000
10257 47700.00000000
10274 0.00000000
10275 0.00000000
10282 2900.00000000
10285 2900.00000000
10293 173100.00000000
10294 173100.00000000
10295 1300.00000000
10297 34700.00000000
10301 144200.00000000
10303 108700.00000000
10306 2100.00000000
10307 800.00000000
10309 20500.00000000
10315 3300.00000000