hey, easiest answer would be investing in double glazing windows and a good pair of ear plugs. i'm sure that by doing that, you will greatly reduce the annoyance.
now one step above would be to get noise cancelling earphones that can be used for sleeping such as these :
https://www.nosleeplessnights.com/headphones-for-sleeping/
however be prepared to pay a lot of cash and not be fully satisfied, if a friend has a good pair of active noise cancelling headphones, i'd advise to try them out for a night, just to make sure that they block well the sound that bothers you.
if this is still not enough, research "white noise" and either put them through speaker or through earplugs.
Finqlly if all of the above is still not enough, you can go to the dark side, buy or rent a good night cam with infrared, get the drifting cars number and send it to the traffic management unit on facebook, those are the guy that can fine asshole drivers :
https://www.facebook.com/tmclebanon/
yalla good luck