SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{2fcd5232467da3507c16630997eb161f6467037536aee06c52dd8c8dcd7f0252}Erlangen{2fcd5232467da3507c16630997eb161f6467037536aee06c52dd8c8dcd7f0252}' OR prCity = 'Erlangen' OR prZip = 'Erlangen' OR prStreet LIKE '{2fcd5232467da3507c16630997eb161f6467037536aee06c52dd8c8dcd7f0252}Erlangen{2fcd5232467da3507c16630997eb161f6467037536aee06c52dd8c8dcd7f0252}' OR prCountry = 'Erlangen') AND (prLocation LIKE '{2fcd5232467da3507c16630997eb161f6467037536aee06c52dd8c8dcd7f0252}/{2fcd5232467da3507c16630997eb161f6467037536aee06c52dd8c8dcd7f0252}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{2fcd5232467da3507c16630997eb161f6467037536aee06c52dd8c8dcd7f0252}/{2fcd5232467da3507c16630997eb161f6467037536aee06c52dd8c8dcd7f0252}' OR prCountry = '/') AND (prLocation LIKE '{2fcd5232467da3507c16630997eb161f6467037536aee06c52dd8c8dcd7f0252}Büchenbach{2fcd5232467da3507c16630997eb161f6467037536aee06c52dd8c8dcd7f0252}' OR prCity = 'Büchenbach' OR prZip = 'Büchenbach' OR prStreet LIKE '{2fcd5232467da3507c16630997eb161f6467037536aee06c52dd8c8dcd7f0252}Büchenbach{2fcd5232467da3507c16630997eb161f6467037536aee06c52dd8c8dcd7f0252}' OR prCountry = 'Büchenbach') AND (prLocation LIKE '{2fcd5232467da3507c16630997eb161f6467037536aee06c52dd8c8dcd7f0252}Germany{2fcd5232467da3507c16630997eb161f6467037536aee06c52dd8c8dcd7f0252}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{2fcd5232467da3507c16630997eb161f6467037536aee06c52dd8c8dcd7f0252}Germany{2fcd5232467da3507c16630997eb161f6467037536aee06c52dd8c8dcd7f0252}' OR prCountry = 'Germany')