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 (
    672, 896, 882, 902, 926, 895, 936, 598, 
    934, 937, 894, 913, 889, 890, 888, 932, 
    933, 675, 911, 914, 924, 920, 918
  ) 
  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.00074

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "55.21"
    },
    "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": 23,
        "rows_produced_per_join": 4,
        "filtered": "19.91",
        "index_condition": "(`cscart`.`cscart_product_prices`.`product_id` in (672,896,882,902,926,895,936,598,934,937,894,913,889,890,888,932,933,675,911,914,924,920,918))",
        "cost_info": {
          "read_cost": "54.29",
          "eval_cost": "0.92",
          "prefix_cost": "55.21",
          "data_read_per_join": "109"
        },
        "used_columns": [
          "product_id",
          "price",
          "percentage_discount",
          "lower_limit",
          "usergroup_id"
        ],
        "attached_condition": "((`cscart`.`cscart_product_prices`.`lower_limit` = 1) and (`cscart`.`cscart_product_prices`.`usergroup_id` in (0,1)))"
      }
    }
  }
}

Result

product_id price
598 39115.00000000
672 23526.00000000
675 14412.00000000
882 49153.00000000
888 48070.00000000
889 28371.00000000
890 44293.00000000
894 45209.00000000
895 37959.00000000
896 46839.00000000
902 40690.00000000
911 38764.00000000
913 29617.00000000
914 33926.00000000
918 35773.00000000
920 30149.00000000
924 28660.00000000
926 32456.00000000
932 33550.00000000
933 24597.00000000
934 47789.00000000
936 49662.00000000
937 36788.00000000