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 (
    485527, 486065, 486066, 486082, 486118, 
    486845, 487406, 488152, 488190, 490052, 
    490066, 490069, 490082, 490790, 490803, 
    490831, 491353, 491365, 491401, 492704, 
    494032, 494761, 494792, 494802
  ) 
  AND product_prices.lower_limit = 1 
  AND product_prices.usergroup_id IN (0, 1) 
GROUP BY 
  product_prices.product_id

Query time 0.00119

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "19.34"
    },
    "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 (485527,486065,486066,486082,486118,486845,487406,488152,488190,490052,490066,490069,490082,490790,490803,490831,491353,491365,491401,492704,494032,494761,494792,494802))",
        "cost_info": {
          "read_cost": "19.10",
          "eval_cost": "0.24",
          "prefix_cost": "19.34",
          "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
485527 18.00000000
486065 2.45000000
486066 2.45000000
486082 2.45000000
486118 3.55000000
486845 15.00000000
487406 18.00000000
488152 18.00000000
488190 18.00000000
490052 2.45000000
490066 2.45000000
490069 2.45000000
490082 2.45000000
490790 2.45000000
490803 2.45000000
490831 18.00000000
491353 2.45000000
491365 15.00000000
491401 18.00000000
492704 2.45000000
494032 20.00000000
494761 2.45000000
494792 20.00000000
494802 2.45000000