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 (
    1533, 5544, 5543, 6181, 6180, 2183, 2182, 
    6533, 26927, 5973, 6124, 6534, 6535, 
    26924, 6183, 26920, 6536, 6128, 2181, 
    29737, 41774, 6159, 46143, 26919, 6172, 
    41667, 6125, 26925, 46141, 6169, 26928, 
    3495
  ) 
  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.00230

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_prices",
          "access_type": "range",
          "possible_keys": [
            "usergroup",
            "product_id",
            "lower_limit",
            "usergroup_id"
          ],
          "key": "product_id",
          "key_length": "3",
          "used_key_parts": ["product_id"],
          "rows": 32,
          "filtered": 99.9960556,
          "index_condition": "cscart_product_prices.product_id in (1533,5544,5543,6181,6180,2183,2182,6533,26927,5973,6124,6534,6535,26924,6183,26920,6536,6128,2181,29737,41774,6159,46143,26919,6172,41667,6125,26925,46141,6169,26928,3495)",
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
1533 195000.0000
2181 41900.0000
2182 43900.0000
2183 42900.0000
3495 109000.0000
5543 75000.0000
5544 75000.0000
5973 62000.0000
6124 99000.0000
6125 70000.0000
6128 99000.0000
6159 80000.0000
6169 85000.0000
6172 85000.0000
6180 180000.0000
6181 90000.0000
6183 80000.0000
6533 140000.0000
6534 125000.0000
6535 150000.0000
6536 140000.0000
26919 22000.0000
26920 42000.0000
26924 160000.0000
26925 110000.0000
26927 80000.0000
26928 115000.0000
29737 70000.0000
41667 44000.0000
41774 60000.0000
46141 58000.0000
46143 69000.0000