Earlier quoted context omitted.
BTW, mlocate is obsoleted by plocate, which is much faster and is actually maintained. https://plocate.sesse.net/
plocate depends on mlocate, it doesn't replace it
I'm the author of plocate. Since version 1.1.0, plocate no longer depends on mlocate for building its database, but is a full replacement.