lushhlavah At a resolution of 1920x1080, a GTX 1650 is faster than an RTX 2050, at least on average. So I would say the 1650 is the better choice for Sims 4. But it's older as well, as are most of the laptops that have one, so that may be a consideration if you plan on keeping the computer for a long time. A new laptop would still be unused, of course; this is more about how long the components get support. The processor is a better indicator of that though, as most of the drivers are dependent on the CPU and motherboard.
The A530M is new enough that there aren't a lot of reliable benchmarks for it, but it looks to be about the same speed as the RTX 2050, maybe slightly slower. That is of course an average and doesn't tell you how the GPUs would compare in Sims 4 specifically. I can tell you that when the first generation of Arc graphics came out, I saw some issues related to the GPU made the game unplayable, but those seem to have been resolved over a year ago. I also don't see a lot of players using Arc graphics though.
As for installing more RAM, whether it voids the warranty depends on the laptop manufacturer. Some specifically make their gaming laptops user-upgradable, at least as far as memory is concerned; others do not. But you should be able to add more RAM to almost any gaming laptop—it's extremely simple for any model that doesn't have soldered memory, which is still unusual in gaming machines. You could also hold off until the warranty is expired anyway, which might only be a year.
If you'd like, I can look for other good laptops for you. Just list your budget and country as well as any other details that matter. Or if you'd prefer to do the shopping yourself, find the user support forums for whichever models you're considering and look for memory upgrade questions. Someone else will have asked whether this voids the warranty.