Five Star-forming Cores in the Galactic Ring Survey: A Mid-Infrared Study