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 (
    1929, 2373, 2372, 2374, 1760, 1807, 1847, 
    2363, 1816, 2146, 2201, 2386, 2359, 
    2279, 1843, 1859, 1794, 1793, 1817, 
    1795, 2278, 1818, 1784, 1819, 1849
  ) 
  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.00037

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "18.41"
    },
    "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": 27,
        "rows_produced_per_join": 5,
        "filtered": "19.97",
        "index_condition": "(`cscartdevel`.`cscart_product_prices`.`product_id` in (1929,2373,2372,2374,1760,1807,1847,2363,1816,2146,2201,2386,2359,2279,1843,1859,1794,1793,1817,1795,2278,1818,1784,1819,1849))",
        "cost_info": {
          "read_cost": "17.87",
          "eval_cost": "0.54",
          "prefix_cost": "18.41",
          "data_read_per_join": "129"
        },
        "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
1760 17.65000000
1784 11.29000000
1793 27.83000000
1794 11.35000000
1795 13.94000000
1807 40.84000000
1816 6.87000000
1817 12.28000000
1818 9.96000000
1819 14.94000000
1843 10.30000000
1847 32.09000000
1849 35.98000000
1859 11.40000000
1929 11.18000000
2146 21.65000000
2201 49.19000000
2278 7.45000000
2279 7.98000000
2359 20.33000000
2363 5.04000000
2372 21.65000000
2373 20.83000000
2374 18.24000000
2386 33.88000000