SELECT 
  product_prices.product_id, 
  MIN(
    IF(
      product_prices.percentage_discount = 0, 
      product_prices.price, 
      product_prices.price - (
        product_prices.price * product_prices.percentage_discount
      )/ 100
    )
  ) AS price 
FROM 
  product_prices 
WHERE 
  product_prices.product_id IN (
    460422, 460430, 460438, 460460, 460463, 
    460464, 460467, 460484, 460998, 461001, 
    461023, 461753, 461754, 461757, 461777, 
    461792, 463067, 463081, 463093, 463644, 
    464391, 464397, 464412, 464955
  ) 
  AND product_prices.lower_limit = 1 
  AND product_prices.usergroup_id IN (0, 1) 
GROUP BY 
  product_prices.product_id

Query time 0.00120

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "17.53"
    },
    "grouping_operation": {
      "using_filesort": false,
      "table": {
        "table_name": "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": 24,
        "rows_produced_per_join": 2,
        "filtered": "10.00",
        "index_condition": "(`goimagine`.`product_prices`.`product_id` in (460422,460430,460438,460460,460463,460464,460467,460484,460998,461001,461023,461753,461754,461757,461777,461792,463067,463081,463093,463644,464391,464397,464412,464955))",
        "cost_info": {
          "read_cost": "17.29",
          "eval_cost": "0.24",
          "prefix_cost": "17.53",
          "data_read_per_join": "57"
        },
        "used_columns": [
          "id",
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`goimagine`.`product_prices`.`lower_limit` = 1) and (`goimagine`.`product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
460422 18.00000000
460430 2.45000000
460438 2.45000000
460460 2.45000000
460463 6.35000000
460464 2.45000000
460467 2.45000000
460484 2.45000000
460998 2.45000000
461001 2.45000000
461023 6.35000000
461753 2.45000000
461754 2.45000000
461757 2.45000000
461777 18.00000000
461792 20.00000000
463067 2.45000000
463081 2.45000000
463093 2.45000000
463644 18.00000000
464391 15.00000000
464397 2.45000000
464412 2.45000000
464955 2.45000000