SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{3a303f97e2662590150bd36125cd48e9df6fb8173c3005380a1a57f5239aea77}Buchen{3a303f97e2662590150bd36125cd48e9df6fb8173c3005380a1a57f5239aea77}' OR prCity = 'Buchen' OR prZip = 'Buchen' OR prStreet LIKE '{3a303f97e2662590150bd36125cd48e9df6fb8173c3005380a1a57f5239aea77}Buchen{3a303f97e2662590150bd36125cd48e9df6fb8173c3005380a1a57f5239aea77}' OR prCountry = 'Buchen') AND (prLocation LIKE '{3a303f97e2662590150bd36125cd48e9df6fb8173c3005380a1a57f5239aea77}(Odenwald){3a303f97e2662590150bd36125cd48e9df6fb8173c3005380a1a57f5239aea77}' OR prCity = '(Odenwald)' OR prZip = '(Odenwald)' OR prStreet LIKE '{3a303f97e2662590150bd36125cd48e9df6fb8173c3005380a1a57f5239aea77}(Odenwald){3a303f97e2662590150bd36125cd48e9df6fb8173c3005380a1a57f5239aea77}' OR prCountry = '(Odenwald)') AND (prLocation LIKE '{3a303f97e2662590150bd36125cd48e9df6fb8173c3005380a1a57f5239aea77}Germany{3a303f97e2662590150bd36125cd48e9df6fb8173c3005380a1a57f5239aea77}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{3a303f97e2662590150bd36125cd48e9df6fb8173c3005380a1a57f5239aea77}Germany{3a303f97e2662590150bd36125cd48e9df6fb8173c3005380a1a57f5239aea77}' OR prCountry = 'Germany')