The Cryorig H5 runs from 20-24db and the Noctua NH-D15 runs from 19-24. So they are both about the same. Both should come with thermal paste.
With your case, there will not be a difference it sound. It will be a quite system. Even if you are running a 8400 with a stock cooler.
The 8400 is a locked CPU, so that means that it cannot be overclocked. So the stock cooler will be efficient. The only way to run DDR4 RAM at 3200mhz or 3600mhz is to get a z370 board and overclock the RAM. Overclocking the RAM wont impact the heat of the CPU, so the CPU wont have any impact on RAM overclocking. Additionally, Intel CPUs don't scale to much with faster RAM. I would not recommend getting RAM over 3200mhz because higher speeds cost more and you wont see much, if any, performance boost.
It depends on the applications you will be using. Sounds like you are building a workstation. Workstation task usually do much better with more cores and more threads. So the 8700k will pull ahead there.
Intel CPUs are great for gaming, but AMD has the advantage for productivity and workstations. You should consider the 2700x and x470 motherboard. The 2700x has 8 cores and 16 threads and smashes the 8700k in workstation task.