SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{3aebfc8ce0ecb600fef9473430279068c87b88fc71a38a081940304d5cba59dc}Bad{3aebfc8ce0ecb600fef9473430279068c87b88fc71a38a081940304d5cba59dc}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{3aebfc8ce0ecb600fef9473430279068c87b88fc71a38a081940304d5cba59dc}Bad{3aebfc8ce0ecb600fef9473430279068c87b88fc71a38a081940304d5cba59dc}' OR prCountry = 'Bad') AND (prLocation LIKE '{3aebfc8ce0ecb600fef9473430279068c87b88fc71a38a081940304d5cba59dc}Herrenalb{3aebfc8ce0ecb600fef9473430279068c87b88fc71a38a081940304d5cba59dc}' OR prCity = 'Herrenalb' OR prZip = 'Herrenalb' OR prStreet LIKE '{3aebfc8ce0ecb600fef9473430279068c87b88fc71a38a081940304d5cba59dc}Herrenalb{3aebfc8ce0ecb600fef9473430279068c87b88fc71a38a081940304d5cba59dc}' OR prCountry = 'Herrenalb') AND (prLocation LIKE '{3aebfc8ce0ecb600fef9473430279068c87b88fc71a38a081940304d5cba59dc}Germany{3aebfc8ce0ecb600fef9473430279068c87b88fc71a38a081940304d5cba59dc}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{3aebfc8ce0ecb600fef9473430279068c87b88fc71a38a081940304d5cba59dc}Germany{3aebfc8ce0ecb600fef9473430279068c87b88fc71a38a081940304d5cba59dc}' OR prCountry = 'Germany')