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 (
    466, 467, 468, 469, 470, 471, 472, 473, 
    474, 475, 476, 477, 478, 479, 480, 481, 
    482, 483, 484, 485, 486, 487, 488, 489, 
    490, 491, 492, 493, 494, 495, 496, 497, 
    498, 499, 500, 501, 502, 503, 504, 505, 
    506, 507, 508, 509, 510, 511, 512, 513, 
    514, 515
  ) 
  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.00084

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "188.74"
    },
    "grouping_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "100.00"
      },
      "table": {
        "table_name": "cscart_product_prices",
        "access_type": "ALL",
        "possible_keys": [
          "usergroup",
          "product_id",
          "lower_limit",
          "usergroup_id"
        ],
        "rows_examined_per_scan": 423,
        "rows_produced_per_join": 100,
        "filtered": "23.64",
        "cost_info": {
          "read_cost": "68.74",
          "eval_cost": "20.00",
          "prefix_cost": "88.74",
          "data_read_per_join": "2K"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`atulecarter_atul_demo2`.`cscart_product_prices`.`lower_limit` = 1) and (`atulecarter_atul_demo2`.`cscart_product_prices`.`product_id` in (466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515)) and (`atulecarter_atul_demo2`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
466 22222.00000000
467 22222.00000000
468 22222.00000000
469 22222.00000000
470 22222.00000000
471 22222.00000000
472 22222.00000000
473 22222.00000000
474 22222.00000000
475 22222.00000000
476 22222.00000000
477 22222.00000000
478 22222.00000000
479 22222.00000000
480 22222.00000000
481 22222.00000000
482 22222.00000000
483 22222.00000000
484 22222.00000000
485 22222.00000000
486 22222.00000000
487 22222.00000000
488 22222.00000000
489 22222.00000000
490 22222.00000000
491 22222.00000000
492 22222.00000000
493 22222.00000000
494 22222.00000000
495 22222.00000000
496 22222.00000000
497 22222.00000000
498 22222.00000000
499 22222.00000000
500 22222.00000000
501 22222.00000000
502 22222.00000000
503 22222.00000000
504 22222.00000000
505 22222.00000000
506 22222.00000000
507 22222.00000000
508 22222.00000000
509 22222.00000000
510 22222.00000000
511 22222.00000000
512 22222.00000000
513 22222.00000000
514 22222.00000000
515 22222.00000000