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 (
    8670, 8671, 8675, 8680, 8684, 8687, 8694, 
    8698, 8704, 8705, 8709, 8710, 8719, 
    8720, 8721, 8724
  ) 
  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.00033

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 (8670,8671,8675,8680,8684,8687,8694,8698,8704,8705,8709,8710,8719,8720,8721,8724)",
      "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
8670 8400.00000000
8671 221000.00000000
8675 1548800.00000000
8680 1343300.00000000
8684 82300.00000000
8687 0.00000000
8694 1300.00000000
8698 8085000.00000000
8704 245200.00000000
8705 850700.00000000
8709 269600.00000000
8710 31800.00000000
8719 1692300.00000000
8720 800.00000000
8721 3300.00000000
8724 14200.00000000