Just as an example, something like this I would be looking out for.
It’s only got 8GB RAM but could be upgraded.
Ideally something like that with 16GB.
Its £150 more than what you were quoted for the refurbed one but almost current generation, 6 core i7 and decent GPU.
Here’s a comparison of the processor for the second one you were quoted.
And here’s the first.