OK, I've finaly found the bug! :)
The problem is somewhere in Hair materials from Default Corona material library. When I create my own Hair Material and aply all the settings from material from library masking works perfectly well. I can have material ID mask and Object ID mask.
Maybe it makes sense to report this problem with hair library materials to Corona Development Team?