Search an array for a set of keys