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 (
    60362, 60403, 60371, 60401, 60357, 60402, 
    60358, 60375, 60376, 60377, 60373, 
    60383, 60359, 60392, 60393, 60381, 
    60385, 60394, 60386, 60391, 60408, 
    60407, 60384, 60397
  ) 
  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.00096

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "16.81"
    },
    "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": 24,
        "rows_produced_per_join": 4,
        "filtered": "20.00",
        "index_condition": "(`cscartdb`.`cscart_product_prices`.`product_id` in (60362,60403,60371,60401,60357,60402,60358,60375,60376,60377,60373,60383,60359,60392,60393,60381,60385,60394,60386,60391,60408,60407,60384,60397))",
        "cost_info": {
          "read_cost": "16.33",
          "eval_cost": "0.48",
          "prefix_cost": "16.81",
          "data_read_per_join": "115"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`cscartdb`.`cscart_product_prices`.`lower_limit` = 1) and (`cscartdb`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
60357 260.00000000
60358 260.00000000
60359 260.00000000
60362 155.00000000
60371 155.00000000
60373 37.00000000
60375 37.00000000
60376 37.00000000
60377 129.00000000
60381 115.00000000
60383 155.00000000
60384 57.00000000
60385 118.00000000
60386 115.00000000
60391 62.00000000
60392 76.00000000
60393 52.00000000
60394 66.00000000
60397 228.00000000
60401 155.00000000
60402 155.00000000
60403 155.00000000
60407 97.00000000
60408 153.00000000