MEB needs to connect from MET to where the service enters. 40m is pushing it resistance wise, what size service? 10mm is not necesserilly correct. The MEB needs to be sized minimum to table 54h which relates to the neutral of the supply - also consult the DNO as they can overrule this.
The thing is the Pipes fitted to the the compressor are bonded to the Earthing teminal in the compressor, I have done a continuity test. So in effect the supply cables earth when connected to the earthing terminal of the compressor is bonded to the pipes. So as long as the earth cable in the supply cable is large enough to satisfy Table 54H I think Im covered. Right?
20A Max BTW