[FIX][runbot_prebuild] Add limit to search sql