Search for non-standard neutrino interactions with 10 years of ANTARES data