SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{0daf36a788cde771d407a22bdfc6b29dd7084d38bc8a4f7ce37b1160b788eb85}Gondershausen{0daf36a788cde771d407a22bdfc6b29dd7084d38bc8a4f7ce37b1160b788eb85}' OR prCity = 'Gondershausen' OR prZip = 'Gondershausen' OR prStreet LIKE '{0daf36a788cde771d407a22bdfc6b29dd7084d38bc8a4f7ce37b1160b788eb85}Gondershausen{0daf36a788cde771d407a22bdfc6b29dd7084d38bc8a4f7ce37b1160b788eb85}' OR prCountry = 'Gondershausen') AND (prLocation LIKE '{0daf36a788cde771d407a22bdfc6b29dd7084d38bc8a4f7ce37b1160b788eb85}Germany{0daf36a788cde771d407a22bdfc6b29dd7084d38bc8a4f7ce37b1160b788eb85}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{0daf36a788cde771d407a22bdfc6b29dd7084d38bc8a4f7ce37b1160b788eb85}Germany{0daf36a788cde771d407a22bdfc6b29dd7084d38bc8a4f7ce37b1160b788eb85}' OR prCountry = 'Germany')