Liquid nitrogen to cool liquid?
I don't know whether liquid nitrogen can be used to cool a volume as large as 5 gallons safely (that is a lot to do at once in a kitchen or restaurant) but it can and has been used in cooking.

Here is an example from youtube.

But it can be dangerous if not done carefully. This BBC story has a warning of what happens if it isn't.