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 (
    13860, 13876, 13879, 14024, 13896, 13946, 
    13916, 13963, 13919, 13929, 13932, 
    13895, 14020, 13899, 13861, 13971, 
    13902, 13931, 13939, 13913, 14026, 
    13950, 13940, 13947
  ) 
  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.00214

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.061901304,
    "nested_loop": [
      {
        "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"],
          "loops": 1,
          "rows": 48,
          "cost": 0.04656984,
          "filtered": 49.95579147,
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.product_id in (13860,13876,13879,14024,13896,13946,13916,13963,13919,13929,13932,13895,14020,13899,13861,13971,13902,13931,13939,13913,14026,13950,13940,13947) and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
13860 14.50000000
13861 14.80000000
13876 12.99000000
13879 9.80000000
13895 17.89000000
13896 17.89000000
13899 8.99000000
13902 9.80000000
13913 6.49000000
13916 4.99000000
13919 6.40000000
13929 9.69000000
13931 9.99000000
13932 9.59000000
13939 12.99000000
13940 10.99000000
13946 11.99000000
13947 8.99000000
13950 9.89000000
13963 4.59000000
13971 9.89000000
14020 3.50000000
14024 5.49000000
14026 5.29000000