Speed up key scanning