First, Bsweet is correct. Bees will pass over areas close to the hive. Move your bees away from the garden to get the best pollination.
Second, I kept 30 hives within 100 feet of the road and they sprayed for mosquitoes weekly, at dusk or after dark. I do not know what they used, but it never bothered my bees.
Third, it has been reported on the forum that the member reported his apiary to the county and the truck would not spray while passing his house. You may want to try that.
Fourth, Welcome to the forum. Hope you enjoy it here.