In my experience if you are stuck in a security queue and it's getting tight for your flight you walk to the front explaining the reason. Or in many cases there will be a member of staff walking the line calling out specific flights if they know some people may miss it.
Not really rocket science.