We could use the tandem-X based forest non forest map to mask the global forest. The data is from 2011 to 2015 and has a spatial resolution of 50 meter https://www.dlr.de/en/hr/research-transfer/projects/forest-non-forest-map