On the cheap, a $60 Pentium G4560 has nearly the same single-threaded performance as a 5ghz i7 2600K, so there's little reason to buy an older CPU and overclock it. OP will want a 7th gen Intel chip, which should come out ahead of even an overclocked Ryzen CPU for this particular task.