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 (
    10228, 10229, 10232, 10233, 10235, 10236, 
    10242, 10243, 10244, 10245, 10246, 
    10247, 10248, 10249, 10250, 10251
  ) 
  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.00034

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 (10228,10229,10232,10233,10235,10236,10242,10243,10244,10245,10246,10247,10248,10249,10250,10251)",
      "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
10228 229100.00000000
10229 229100.00000000
10232 92400.00000000
10233 92400.00000000
10235 100700.00000000
10236 100700.00000000
10242 62700.00000000
10243 62700.00000000
10244 118700.00000000
10245 118700.00000000
10246 19600.00000000
10247 19600.00000000
10248 107400.00000000
10249 107400.00000000
10250 119100.00000000
10251 119100.00000000