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 (
    4718, 4793, 4722, 4719, 4717, 4716, 4723, 
    4720, 4721, 4940, 4667, 6114
  ) 
  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.00056

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": 25,
      "filtered": 96,
      "index_condition": "cscart_product_prices.product_id in (4718,4793,4722,4719,4717,4716,4723,4720,4721,4940,4667,6114)",
      "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.usergroup_id in (0,1)"
    }
  }
}

Result

product_id price
4667 90.050000
4716 31.420000
4717 46.160000
4718 336.620000
4719 60.040000
4720 189.630000
4721 109.780000
4722 253.030000
4723 113.250000
4793 549.260000
4940 84.160000
6114 50.490000