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 (
    55853, 85838, 55857, 70639, 67652, 55856, 
    84572, 108231, 66650, 85837, 70643, 
    84570, 50164, 71650, 70642, 50165, 
    67651, 108235, 108236, 230438, 230436, 
    249322, 250146, 250148
  ) 
  AND product_prices.lower_limit = 1 
  AND product_prices.usergroup_id IN (0, 1) 
GROUP BY 
  product_prices.product_id

Query time 0.00113

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "20.22"
    },
    "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 (55853,85838,55857,70639,67652,55856,84572,108231,66650,85837,70643,84570,50164,71650,70642,50165,67651,108235,108236,230438,230436,249322,250146,250148))",
        "cost_info": {
          "read_cost": "19.98",
          "eval_cost": "0.24",
          "prefix_cost": "20.22",
          "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
50164 39.95000000
50165 39.95000000
55853 49.95000000
55856 54.95000000
55857 34.95000000
66650 64.95000000
67651 49.95000000
67652 49.95000000
70639 49.95000000
70642 64.95000000
70643 64.95000000
71650 34.95000000
84570 34.95000000
84572 34.95000000
85837 49.95000000
85838 64.95000000
108231 25.00000000
108235 25.00000000
108236 25.00000000
230436 34.95000000
230438 34.95000000
249322 34.95000000
250146 25.95000000
250148 25.95000000