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 (
    410922, 402092, 403976, 408452, 428407, 
    451396, 417863, 425706, 447102, 447465, 
    418224, 454664, 446202, 436995, 424216, 
    416027, 414898, 412406, 425747, 406851, 
    403492, 409045, 455469, 459175
  ) 
  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.00153

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 (410922,402092,403976,408452,428407,451396,417863,425706,447102,447465,418224,454664,446202,436995,424216,416027,414898,412406,425747,406851,403492,409045,455469,459175) and cscart_product_prices.usergroup_id in (0,1)"
        }
      }
    ]
  }
}

Result

product_id price
402092 377.01000000
403492 1656.77000000
403976 614.18000000
406851 897.54000000
408452 96.35000000
409045 1075.93000000
410922 328.90000000
412406 1031.84000000
414898 891.72000000
416027 1270.70000000
417863 1748.93000000
418224 1981.28000000
424216 537.54000000
425706 1494.17000000
425747 1671.49000000
428407 541.55000000
436995 64.29000000
446202 172.81000000
447102 418.26000000
447465 980.40000000
451396 334.83000000
454664 1595.86000000
455469 1086.46000000
459175 527.93000000