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 (
    1893, 1857, 2147, 1790, 1877, 1858, 1876, 
    1841, 1796, 2329, 2330, 1860, 2148, 
    2152, 1868, 1881, 1888, 2303, 2016, 
    2319, 1999, 2019, 2321, 2322, 2018, 
    1928, 2017, 1998, 2020, 2071, 2320, 
    2333, 2080, 2325, 2113, 2324, 2327, 
    2326, 2347, 2323, 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, 2074, 2073, 
    2312, 2313, 2084, 2292, 2304, 1821, 
    2164, 1786, 1805, 1822, 2170, 2189, 
    2188
  ) 
  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.00068

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "57.36"
    },
    "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": 83,
        "rows_produced_per_join": 16,
        "filtered": "19.97",
        "index_condition": "(`cscartdevel`.`cscart_product_prices`.`product_id` in (1893,1857,2147,1790,1877,1858,1876,1841,1796,2329,2330,1860,2148,2152,1868,1881,1888,2303,2016,2319,1999,2019,2321,2322,2018,1928,2017,1998,2020,2071,2320,2333,2080,2325,2113,2324,2327,2326,2347,2323,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,2074,2073,2312,2313,2084,2292,2304,1821,2164,1786,1805,1822,2170,2189,2188))",
        "cost_info": {
          "read_cost": "55.70",
          "eval_cost": "1.66",
          "prefix_cost": "57.36",
          "data_read_per_join": "397"
        },
        "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
1786 8.36000000
1790 16.05000000
1796 6.15000000
1805 15.82000000
1821 7.30000000
1822 7.52000000
1841 5.87000000
1857 7.20000000
1858 8.85000000
1860 5.97000000
1868 7.91000000
1876 11.84000000
1877 64.54000000
1881 9.08000000
1888 6.64000000
1893 12.18000000
1921 15.70000000
1926 17.72000000
1928 40.21000000
1937 17.07000000
1941 35.15000000
1960 27.11000000
1990 25.58000000
1998 42.27000000
1999 44.27000000
2012 7.92000000
2013 10.21000000
2016 35.53000000
2017 40.55000000
2018 40.89000000
2019 40.89000000
2020 41.58000000
2035 5.26000000
2052 28.75000000
2053 14.78000000
2055 24.05000000
2071 44.06000000
2072 55.68000000
2073 29.55000000
2074 16.15000000
2078 36.49000000
2079 131.28000000
2080 44.40000000
2084 10.50000000
2113 20.04000000
2135 91.27000000
2147 9.96000000
2148 16.22000000
2152 11.01000000
2164 9.41000000
2170 10.07000000
2188 48.23000000
2189 48.23000000
2193 45.02000000
2206 77.95000000
2280 4.99000000
2292 38.72000000
2296 10.50000000
2300 78.91000000
2303 40.83000000
2304 30.63000000
2312 24.40000000
2313 18.62000000
2319 33.48000000
2320 39.59000000
2321 32.59000000
2322 60.77000000
2323 32.59000000
2324 122.20000000
2325 40.96000000
2326 33.48000000
2327 125.84000000
2329 11.49000000
2330 6.92000000
2333 36.49000000
2335 9.33000000
2341 29.63000000
2347 37.40000000
2353 50.38000000
2380 38.72000000