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 (
    1914, 1915, 1761, 2203, 1789, 1811, 1791, 
    1889, 1836, 1799, 1845, 1792, 1905, 
    1806, 1837, 2282, 2002, 1940, 2295, 
    2283, 1970, 2387, 2014, 2355, 1996, 
    2286, 2285, 2310, 1997, 1956, 1971, 
    2316, 1955, 2334, 2108, 2360, 2287, 
    2288, 2009, 1950, 2109, 2107, 2221, 
    2023, 2123, 1982, 1944, 2031, 2032, 
    1920, 2033, 2034, 2165, 2223, 2190, 
    1758, 2365, 2067, 2294, 2070, 2069, 
    1835, 1871, 2241, 2351, 2091, 1959, 
    1981, 2137, 2340, 1745, 2209, 2063, 
    2370, 2377, 1916, 2381, 2392, 1838, 
    1766
  ) 
  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.00075

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "59.61"
    },
    "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": 88,
        "rows_produced_per_join": 17,
        "filtered": "19.97",
        "index_condition": "(`cscartdevel`.`cscart_product_prices`.`product_id` in (1914,1915,1761,2203,1789,1811,1791,1889,1836,1799,1845,1792,1905,1806,1837,2282,2002,1940,2295,2283,1970,2387,2014,2355,1996,2286,2285,2310,1997,1956,1971,2316,1955,2334,2108,2360,2287,2288,2009,1950,2109,2107,2221,2023,2123,1982,1944,2031,2032,1920,2033,2034,2165,2223,2190,1758,2365,2067,2294,2070,2069,1835,1871,2241,2351,2091,1959,1981,2137,2340,1745,2209,2063,2370,2377,1916,2381,2392,1838,1766))",
        "cost_info": {
          "read_cost": "57.85",
          "eval_cost": "1.76",
          "prefix_cost": "59.61",
          "data_read_per_join": "421"
        },
        "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
1745 6.87000000
1758 24.47000000
1761 7.65000000
1766 23.24000000
1789 9.96000000
1791 16.71000000
1792 15.49000000
1799 7.98000000
1806 13.84000000
1811 34.86000000
1835 4.99000000
1836 7.98000000
1837 6.87000000
1838 10.50000000
1845 12.89000000
1871 6.64000000
1889 15.72000000
1905 13.17000000
1914 5.40000000
1915 5.40000000
1916 11.71000000
1920 16.90000000
1940 7.16000000
1944 9.33000000
1950 8.09000000
1955 9.86000000
1956 7.45000000
1959 24.41000000
1970 19.08000000
1971 13.14000000
1981 15.79000000
1982 10.10000000
1996 8.09000000
1997 9.97000000
2002 7.16000000
2009 8.09000000
2014 7.63000000
2023 13.88000000
2031 27.46000000
2032 42.98000000
2033 22.94000000
2034 35.66000000
2063 25.23000000
2067 32.64000000
2069 11.56000000
2070 11.56000000
2091 10.91000000
2107 11.49000000
2108 8.09000000
2109 18.02000000
2123 13.88000000
2137 22.42000000
2165 10.74000000
2190 35.61000000
2203 14.67000000
2209 7.51000000
2221 15.81000000
2223 13.70000000
2241 43.03000000
2282 8.56000000
2283 7.92000000
2285 36.70000000
2286 16.36000000
2287 23.47000000
2288 53.39000000
2294 62.76000000
2295 4.86000000
2310 7.21000000
2316 11.73000000
2334 8.92000000
2340 36.73000000
2351 16.78000000
2355 13.50000000
2360 10.86000000
2365 108.64000000
2370 22.59000000
2377 14.43000000
2381 14.78000000
2387 23.76000000
2392 26.73000000