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 (
    426, 429, 428, 410, 450, 474, 473, 448, 
    493, 409, 456, 431, 466, 484, 470, 490, 
    451, 491, 411, 486, 471, 481, 489, 415
  ) 
  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.00063

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "66.01"
    },
    "grouping_operation": {
      "using_filesort": false,
      "table": {
        "table_name": "cscart_product_prices",
        "access_type": "range",
        "possible_keys": [
          "usergroup",
          "product_id",
          "lower_limit",
          "usergroup_id"
        ],
        "key": "product_id",
        "used_key_parts": [
          "product_id"
        ],
        "key_length": "3",
        "rows_examined_per_scan": 30,
        "rows_produced_per_join": 5,
        "filtered": "19.67",
        "index_condition": "(`danishecarter_latest`.`cscart_product_prices`.`product_id` in (426,429,428,410,450,474,473,448,493,409,456,431,466,484,470,490,451,491,411,486,471,481,489,415))",
        "cost_info": {
          "read_cost": "64.83",
          "eval_cost": "1.18",
          "prefix_cost": "66.01",
          "data_read_per_join": "141"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`danishecarter_latest`.`cscart_product_prices`.`lower_limit` = 1) and (`danishecarter_latest`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
409 29000.00000000
410 22900.00000000
411 19000.00000000
415 29000.00000000
426 28000.00000000
428 20500.00000000
429 28000.00000000
431 51900.00000000
448 15600.00000000
450 37600.00000000
451 23200.00000000
456 39900.00000000
466 45900.00000000
470 27200.00000000
471 52000.00000000
473 22400.00000000
474 22400.00000000
481 28000.00000000
484 6500.00000000
486 22400.00000000
489 22400.00000000
490 20000.00000000
491 20000.00000000
493 13880.00000000