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 (
    2135, 2300, 2206, 2193, 2079, 2078, 1921, 
    2296, 2012, 2013, 2280, 2335, 2380, 
    2035, 1941, 2052, 2055, 1960, 1926, 
    1990, 2341, 2053, 1937, 2353, 2072
  ) 
  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.00053

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "17.96"
    },
    "grouping_operation": {
      "using_filesort": false,
      "table": {
        "table_name": "cscart_product_prices",
        "access_type": "range",
        "possible_keys": [
          "usergroup",
          "product_id",
          "lower_limit",
          "usergroup_id"
        ],
        "key": "product_id",
        "used_key_parts": [
          "product_id"
        ],
        "key_length": "3",
        "rows_examined_per_scan": 26,
        "rows_produced_per_join": 5,
        "filtered": "19.97",
        "index_condition": "(`cscartdevel`.`cscart_product_prices`.`product_id` in (2135,2300,2206,2193,2079,2078,1921,2296,2012,2013,2280,2335,2380,2035,1941,2052,2055,1960,1926,1990,2341,2053,1937,2353,2072))",
        "cost_info": {
          "read_cost": "17.44",
          "eval_cost": "0.52",
          "prefix_cost": "17.96",
          "data_read_per_join": "124"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`cscartdevel`.`cscart_product_prices`.`lower_limit` = 1) and (`cscartdevel`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
1921 15.70000000
1926 17.72000000
1937 17.07000000
1941 35.15000000
1960 27.11000000
1990 25.58000000
2012 7.92000000
2013 10.21000000
2035 5.26000000
2052 28.75000000
2053 14.78000000
2055 24.05000000
2072 55.68000000
2078 36.49000000
2079 131.28000000
2135 91.27000000
2193 45.02000000
2206 77.95000000
2280 4.99000000
2296 10.50000000
2300 78.91000000
2335 9.33000000
2341 29.63000000
2353 50.38000000
2380 38.72000000