New quasars behind the Magellanic Clouds. Spectroscopic confirmation of near-infrared selected candidates