SELECT DISTINCT `id` FROM `haendler` WHERE haendler.lat BETWEEN 51.220336943176 AND 51.579663056824 AND haendler.lng BETWEEN 9.9453228682401 AND 10.52127713176 AND `invisible` = 0