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 (
    416876, 429191, 403689, 407343, 433764, 
    454714, 460804, 443041, 436014, 426960, 
    405927, 424846
  ) 
  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.00108

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.050158501,
    "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.04252208,
          "filtered": 49.99988556,
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.product_id in (416876,429191,403689,407343,433764,454714,460804,443041,436014,426960,405927,424846) and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
403689 646.41000000
405927 1992.97000000
407343 1829.37000000
416876 86.53000000
424846 1871.54000000
426960 615.87000000
429191 585.51000000
433764 1802.96000000
436014 586.76000000
443041 185.20000000
454714 35.26000000
460804 1718.68000000