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 (
    13951, 13952, 13953, 13954, 13955, 13956, 
    13957, 13958, 13959, 13960, 13961, 
    13962
  ) 
  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.00664

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.032129402,
    "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": 24,
          "cost": 0.02449968,
          "filtered": 49.95539856,
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.product_id in (13951,13952,13953,13954,13955,13956,13957,13958,13959,13960,13961,13962) and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
13951 4.69000000
13952 4.69000000
13953 4.69000000
13954 4.69000000
13955 4.69000000
13956 4.69000000
13957 4.69000000
13958 4.69000000
13959 4.69000000
13960 4.69000000
13961 4.69000000
13962 4.69000000