Do a big water change as soon as you can, talking 80 or 90%, the mixture will have alcohol in it if its been running more than a couple of hours. Maybe move all the fry into one of your 10g tanks and home some of your fish in the empty 10 gal until all the water is cleared up. Don’t think the yeast would do much harm but the sugar and alcohol would do damage. Don’t think carbon would help much. How are the fish doing, that should give you an idea about how much water to change, maybe 50% is enough if not much mixture got in the tank water.
A non return valve is a good idea with yeast Co2 for the future.
Hope all fish will be okay