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