SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{30ca5ee76d10af0b11b79b041331c05dcd145f698794e4e57d22b6746127cd6d}Lichtentanne{30ca5ee76d10af0b11b79b041331c05dcd145f698794e4e57d22b6746127cd6d}' OR prCity = 'Lichtentanne' OR prZip = 'Lichtentanne' OR prStreet LIKE '{30ca5ee76d10af0b11b79b041331c05dcd145f698794e4e57d22b6746127cd6d}Lichtentanne{30ca5ee76d10af0b11b79b041331c05dcd145f698794e4e57d22b6746127cd6d}' OR prCountry = 'Lichtentanne') AND (prLocation LIKE '{30ca5ee76d10af0b11b79b041331c05dcd145f698794e4e57d22b6746127cd6d}Germany{30ca5ee76d10af0b11b79b041331c05dcd145f698794e4e57d22b6746127cd6d}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{30ca5ee76d10af0b11b79b041331c05dcd145f698794e4e57d22b6746127cd6d}Germany{30ca5ee76d10af0b11b79b041331c05dcd145f698794e4e57d22b6746127cd6d}' OR prCountry = 'Germany')