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 (
    41345, 65, 40761, 14948, 14958, 40760, 
    14950, 1473, 47900, 41955, 47668, 47667, 
    41956
  ) 
  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.00169

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": 13,
          "filtered": 99.9960556,
          "index_condition": "cscart_product_prices.product_id in (41345,65,40761,14948,14958,40760,14950,1473,47900,41955,47668,47667,41956)",
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
65 800000.0000
1473 750000.0000
14948 590000.0000
14950 690000.0000
14958 690000.0000
40760 579000.0000
40761 775000.0000
41345 550000.0000
41955 800000.0000
41956 750000.0000
47667 800000.0000
47668 690000.0000
47900 599000.0000