Search token in query before headers