You will have to check the datasheets for what the -10, -20 etc mean. Unfortunately those older (non flash) chips are quite slow and you often see anomalies like -70 means 70ns access time whereas -10 means 100ns access time.
You need one as good as what was there before, so possibly -10 could be replaced with -70 if that means going from 100ns to 70ns, but if it means 10ns to 70ns then not (this interpretation is unlikely with UV eraseable chips but the Flash versions are typically much faster). You can also replace the UV eraseable chip with a Flash version.
Another way to do it, which takes a fair bit more expertise, is to figure out what the 27C040 connects to, for instance a Z80 CPU or similar, see what that is clocked at (say 3.58 MHz Z80, you will know this because there's a 3.58 MHz crystal right next to it), and figure out the access time from the relevant data sheets. This can be helpful if the manufacturer used a faster than necessary chip, which is often the case if the faster chip was cheaper at the time of ordering. You do have to be careful of address decode delays.
cheers, Nick
edit: fix -100 suffix to -10