Generally speaking, from the perspective of playing games it is better to choose the laptop with the better graphics performance over a laptop with better CPU performance as long as the CPU is not so slow that it actually slows down the graphics core / chip.
The A10-7300 is a quad core CPU (AMD calls 'em APUs) that can reach speeds up to 3.2GHz. The Core i5-4210u is a dual core CPU can reach up to 2.7GHz. Despite the difference in clock speed, and the number of cores, the i5-4210u is the better CPU in terms of processor performance. If I had to make a guess I would say that the A10-7300 is overall about equal to a Core i5-4210u running at about 2.0GHz. That is certainly enough to the Sims 4 without any issues.
The graphics core in the...