I have a 360 AIO (Arctic Liquid Freezer II) and run my Ryzen at 4.5Ghz
Arctic Liquid Freezer II - 360 (6.30cm)
So far had max. temperatures of approx. 56°C when gaming (2k).
240 AIO or a good fan cooler would certainly also suffice, will then probably be more a question of price and/or limited by airflow/housing.