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