SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{7a9a60e4b25ae5e852b83ce466fda9a436a19c8cc58da8eb4c1a2045e0c5a544}Wellendingen{7a9a60e4b25ae5e852b83ce466fda9a436a19c8cc58da8eb4c1a2045e0c5a544}' OR prCity = 'Wellendingen' OR prZip = 'Wellendingen' OR prStreet LIKE '{7a9a60e4b25ae5e852b83ce466fda9a436a19c8cc58da8eb4c1a2045e0c5a544}Wellendingen{7a9a60e4b25ae5e852b83ce466fda9a436a19c8cc58da8eb4c1a2045e0c5a544}' OR prCountry = 'Wellendingen') AND (prLocation LIKE '{7a9a60e4b25ae5e852b83ce466fda9a436a19c8cc58da8eb4c1a2045e0c5a544}/{7a9a60e4b25ae5e852b83ce466fda9a436a19c8cc58da8eb4c1a2045e0c5a544}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{7a9a60e4b25ae5e852b83ce466fda9a436a19c8cc58da8eb4c1a2045e0c5a544}/{7a9a60e4b25ae5e852b83ce466fda9a436a19c8cc58da8eb4c1a2045e0c5a544}' OR prCountry = '/') AND (prLocation LIKE '{7a9a60e4b25ae5e852b83ce466fda9a436a19c8cc58da8eb4c1a2045e0c5a544}Wilflingen{7a9a60e4b25ae5e852b83ce466fda9a436a19c8cc58da8eb4c1a2045e0c5a544}' OR prCity = 'Wilflingen' OR prZip = 'Wilflingen' OR prStreet LIKE '{7a9a60e4b25ae5e852b83ce466fda9a436a19c8cc58da8eb4c1a2045e0c5a544}Wilflingen{7a9a60e4b25ae5e852b83ce466fda9a436a19c8cc58da8eb4c1a2045e0c5a544}' OR prCountry = 'Wilflingen') AND (prLocation LIKE '{7a9a60e4b25ae5e852b83ce466fda9a436a19c8cc58da8eb4c1a2045e0c5a544}Germany{7a9a60e4b25ae5e852b83ce466fda9a436a19c8cc58da8eb4c1a2045e0c5a544}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{7a9a60e4b25ae5e852b83ce466fda9a436a19c8cc58da8eb4c1a2045e0c5a544}Germany{7a9a60e4b25ae5e852b83ce466fda9a436a19c8cc58da8eb4c1a2045e0c5a544}' OR prCountry = 'Germany')