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 (
    460402, 438135, 448865, 414574, 434263, 
    439645, 435106, 442622, 452529, 426624, 
    452048, 424261, 436348, 442119, 447602, 
    440833, 448732, 404249, 424146, 417229, 
    424226, 412627, 460205, 436067
  ) 
  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.00143

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.099614043,
    "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.08425304,
          "filtered": 50,
          "attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.product_id in (460402,438135,448865,414574,434263,439645,435106,442622,452529,426624,452048,424261,436348,442119,447602,440833,448732,404249,424146,417229,424226,412627,460205,436067) and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
404249 357.30000000
412627 1532.43000000
414574 157.67000000
417229 1991.21000000
424146 1482.70000000
424226 60.92000000
424261 1165.68000000
426624 47.41000000
434263 1513.22000000
435106 1026.81000000
436067 1122.34000000
436348 667.22000000
438135 1982.49000000
439645 499.18000000
440833 480.83000000
442119 1310.22000000
442622 27.02000000
447602 491.74000000
448732 1873.55000000
448865 1461.64000000
452048 1047.84000000
452529 606.84000000
460205 960.44000000
460402 991.75000000