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 (
    5195, 4985, 5184, 5194, 5192, 5191, 5185, 
    5190, 5193, 5615, 7904, 7903, 7902
  ) 
  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.00049

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": "usergroup",
      "key_length": "9",
      "used_key_parts": ["product_id", "usergroup_id", "lower_limit"],
      "rows": 26,
      "filtered": 100,
      "index_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.product_id in (5195,4985,5184,5194,5192,5191,5185,5190,5193,5615,7904,7903,7902) and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
4985 499.990000
5184 169.990000
5185 169.990000
5190 299.990000
5191 299.990000
5192 299.990000
5193 299.990000
5194 299.990000
5195 299.990000
5615 439.000000
7902 469.990000
7903 169.990000
7904 209.990000