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 (
    2507, 2501, 2498, 2504, 2500, 2505, 2503, 
    2499, 2497, 2508, 2506, 2509
  ) 
  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.00044

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 (2507,2501,2498,2504,2500,2505,2503,2499,2497,2508,2506,2509)",
      "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
2497 1482.010000
2498 1482.010000
2499 1482.010000
2500 1482.010000
2501 1482.010000
2503 1482.010000
2504 1482.010000
2505 1482.010000
2506 1482.010000
2507 1482.010000
2508 1482.010000
2509 1482.010000