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 (
    2897, 3187, 33606, 192, 2473, 6197, 6363, 
    4342, 3696, 3189, 6110, 3465, 735, 41945, 
    3186, 298, 41595, 2499, 36574, 2968, 
    31960, 47895, 1375, 27369, 6184, 5656, 
    28441, 5146, 5777, 46138, 47082, 50395
  ) 
  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.18397

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.333330154,
              "attached_condition": "cscart_product_prices.lower_limit <=> 1 and cscart_product_prices.product_id in (2897,3187,33606,192,2473,6197,6363,4342,3696,3189,6110,3465,735,41945,3186,298,41595,2499,36574,2968,31960,47895,1375,27369,6184,5656,28441,5146,5777,46138,47082,50395) and cscart_product_prices.usergroup_id in (0,1)"
            }
          }
        ]
      }
    }
  }
}

Result

product_id price
192 240000.0000
298 450000.0000
735 65000.0000
1375 280000.0000
2473 214500.0000
2499 95000.0000
2897 30000.0000
2968 62000.0000
3186 55000.0000
3187 60000.0000
3189 220000.0000
3465 200000.0000
3696 192500.0000
4342 150000.0000
5146 60000.0000
5656 70000.0000
5777 215000.0000
6110 230000.0000
6184 40000.0000
6197 49000.0000
6363 480000.0000
27369 350000.0000
28441 265000.0000
31960 35000.0000
33606 350000.0000
36574 350000.0000
41595 449000.0000
41945 150000.0000
46138 3666000.0000
47082 80000.0000
47895 319500.0000
50395 175000.0000