I suggest you to visit TS-x53d RAM Upgrade Informative Guide (TS-653D, TS-453D, TS-253D, TS-251D, TS-451D2) - QNAP NAS Community Forum where you will found a lot of information about ram upgrade. Not all configurations are working, so read it carefully. Better if you buy a well-known configuration. Note that 2x16Gb is working, despite of CPU limits. The important things is that you buy the right ones. In my case, I’ve removed the 8Gb bank and replaced with two 16Gb for a total of 32Gb. It’s working flawlessy from more than a year, no problems at all.
In case you can’t find models reported in the forum, the best you can do is finding different models that respects everything you can read in the forum thread and try it. Buy from someone that gives to you some days to test the ram and return if it doesn’t work.