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 (
    1952, 1939, 1126, 1129, 1125, 2007, 2076, 
    2352, 1578, 1127, 2030, 2269, 2289, 
    1173, 2167, 2128, 1574, 1968, 1969, 
    1579, 1575, 1128, 1081, 2192, 1082
  ) 
  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.00044

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "18.86"
    },
    "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": 28,
        "rows_produced_per_join": 5,
        "filtered": "19.97",
        "index_condition": "(`cscartdevel`.`cscart_product_prices`.`product_id` in (1952,1939,1126,1129,1125,2007,2076,2352,1578,1127,2030,2269,2289,1173,2167,2128,1574,1968,1969,1579,1575,1128,1081,2192,1082))",
        "cost_info": {
          "read_cost": "18.30",
          "eval_cost": "0.56",
          "prefix_cost": "18.86",
          "data_read_per_join": "134"
        },
        "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
1081 16.90000000
1082 19.90000000
1125 18.90000000
1126 14.90000000
1127 20.00000000
1128 25.00000000
1129 15.00000000
1173 24.90000000
1574 50.00000000
1575 50.00000000
1578 50.00000000
1579 50.00000000
1939 8.17000000
1952 9.09000000
1968 13.60000000
1969 13.60000000
2007 37.41000000
2030 16.15000000
2076 37.41000000
2128 19.24000000
2167 25.78000000
2192 8.92000000
2269 8.94000000
2289 14.92000000
2352 67.36000000