What salvage said. A lower end/older card will use DDR3 instead of DDR5, so I'm guessing any card with DDR5 will have better performance. But the RAM matters very little.
VRAM speeds make a big difference on games that have large texture transfers. DDR5 is significantly better and if you have the choice that is what you should choose.