Where I'm from, Ryzen 3000 are hard to find and more expensive and Ryzen 5000 are cheaper and in stock everywhere.
RYZEN 9 3950X is an old model and it might be better to look for it on ebay. But you must understand that the payback of your computer will be 3-5 years or more. Therefore, I have a negative attitude towards investing in mining on processors.