The tl;dr is "maybe".
You're relatively new, which doubtless means you need a *huge* amount of food for leveling champs. I personally have something in the range of like 150 level 60 champs, and I only recently finally ran out of things worth leveling.
Being able to solo farm dungeons is a *very* good way of being able to combine the constant need for food, with the need to get new items as well. I highly recommend you prioritize that ASAP. The sooner you can get a solo dungeon farmer going, the sooner you can absolutely turbocharge your account progression.
But until that happens - technically you're better off doing dungeon 23 or 24, instead of 20. But only if you can both *guarantee* that you never fail a run, and are also able to complete the run at the higher difficulty without also making it substantially slower. For example, if you can do 20 in two minutes, but it takes you six minutes to do 23, then you should just stick to 20.