I use security-acl in my project and noticed it works slow in case of many checks on different objects. While profiling I figured out why. SQL query that returns acl entries doe