Search for Magnetic Monopoles with ten years of the ANTARES neutrino telescope