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 (
    13425, 13426, 13495, 13460, 13427, 13461, 
    13462, 13428, 13463, 13429, 13430, 
    13498, 13431, 13432, 13503, 13464, 
    13433, 13434, 13500, 13435, 13436, 
    13438, 13437, 13465
  ) 
  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.00063

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.06190128,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_prices",
          "access_type": "range",
          "possible_keys": [
            "usergroup",
            "product_id",
            "lower_limit",
            "usergroup_id"
          ],
          "key": "usergroup",
          "key_length": "9",
          "used_key_parts": ["product_id", "usergroup_id", "lower_limit"],
          "loops": 1,
          "rows": 48,
          "cost": 0.04656984,
          "filtered": 49.95571136,
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.product_id in (13425,13426,13495,13460,13427,13461,13462,13428,13463,13429,13430,13498,13431,13432,13503,13464,13433,13434,13500,13435,13436,13438,13437,13465) and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
13425 12.00000000
13426 12.00000000
13427 16.00000000
13428 14.00000000
13429 12.00000000
13430 21.00000000
13431 17.00000000
13432 16.00000000
13433 12.00000000
13434 23.00000000
13435 24.00000000
13436 12.00000000
13437 35.00000000
13438 50.00000000
13460 13.70000000
13461 4.50000000
13462 5.70000000
13463 4.10000000
13464 3.70000000
13465 4.10000000
13495 3.00000000
13498 3.50000000
13500 20.00000000
13503 8.00000000