I'm thinking this may be an old water softener hookup that is now permanently bypassed.
This is a similar looking modern one: https://www.amazon.com/Ecodyne-Softener-Original-Equipment-Manufacturer/dp/B01MRA9XLH