Get the 24 inch.
The reason that longer barrels were ever preferred was in a time when shot shells still used black powder, so longer barrels built up more pressure and velocity as a result.
But these days with modern smokeless powders, all of them will burn out and reach their full velocity even in 20 inch barrels, so you gain nothing from the longer barrel, other than having to lug and swing more weight around all day.
There are some who still prefer longer barrels due to how they do swing. More weight means that once they start swinging they tend to want to continue swinging, but that isn't always a good thing. At least on live animals that can change directions on a whim, which is what I use my shotguns for.
And why I prefer short barrel shotguns.
For that matter, I even threaded my 18.5" and 20 inch barrel to accept screw in chokes so I can use it for essentially any reason under the sun.
No, I don't have a CZ shotgun. They are far more expensive than my budget will allow. But if I had a CZ, I would still want the shorter one.