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 (
    37293, 2625, 2639, 5773, 43460, 37285, 
    41362, 48220, 27297, 5757, 4821, 5644, 
    5284, 49256, 5768, 20838, 1049, 41426, 
    1050, 47605, 41371, 2623, 33699, 726, 
    2252, 31943, 47606, 31901, 4810, 33695, 
    41136, 26868
  ) 
  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.06298

JSON explain

{
  "query_block": {
    "select_id": 1,
    "filesort": {
      "sort_key": "cscart_product_prices.product_id",
      "temporary_table": {
        "nested_loop": [
          {
            "table": {
              "table_name": "cscart_product_prices",
              "access_type": "ref",
              "possible_keys": [
                "usergroup",
                "product_id",
                "lower_limit",
                "usergroup_id"
              ],
              "key": "lower_limit",
              "key_length": "3",
              "used_key_parts": ["lower_limit"],
              "ref": ["const"],
              "rows": 25327,
              "filtered": 8.593746185,
              "attached_condition": "cscart_product_prices.lower_limit <=> 1 and cscart_product_prices.product_id in (37293,2625,2639,5773,43460,37285,41362,48220,27297,5757,4821,5644,5284,49256,5768,20838,1049,41426,1050,47605,41371,2623,33699,726,2252,31943,47606,31901,4810,33695,41136,26868) and cscart_product_prices.usergroup_id in (0,1)"
            }
          }
        ]
      }
    }
  }
}

Result

product_id price
726 465000.0000
1049 549000.0000
1050 3450000.0000
2252 6000000.0000
2623 280000.0000
2625 190000.0000
2639 200000.0000
4810 330000.0000
4821 380000.0000
5284 58000.0000
5644 170000.0000
5757 425000.0000
5768 1940000.0000
5773 882000.0000
20838 360000.0000
26868 105000.0000
27297 75000.0000
31901 82000.0000
31943 236500.0000
33695 250000.0000
33699 315000.0000
37285 207000.0000
37293 220000.0000
41136 499000.0000
41362 275000.0000
41371 248000.0000
41426 1095000.0000
43460 290000.0000
47605 340000.0000
47606 1254000.0000
48220 360000.0000
49256 480000.0000