SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{17aa502d9be09101c78f297f9873707f0f0df3febc7acd2cafd0870a9f5a6c80}Quakenbrück{17aa502d9be09101c78f297f9873707f0f0df3febc7acd2cafd0870a9f5a6c80}' OR prCity = 'Quakenbrück' OR prZip = 'Quakenbrück' OR prStreet LIKE '{17aa502d9be09101c78f297f9873707f0f0df3febc7acd2cafd0870a9f5a6c80}Quakenbrück{17aa502d9be09101c78f297f9873707f0f0df3febc7acd2cafd0870a9f5a6c80}' OR prCountry = 'Quakenbrück') AND (prLocation LIKE '{17aa502d9be09101c78f297f9873707f0f0df3febc7acd2cafd0870a9f5a6c80}Germany{17aa502d9be09101c78f297f9873707f0f0df3febc7acd2cafd0870a9f5a6c80}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{17aa502d9be09101c78f297f9873707f0f0df3febc7acd2cafd0870a9f5a6c80}Germany{17aa502d9be09101c78f297f9873707f0f0df3febc7acd2cafd0870a9f5a6c80}' OR prCountry = 'Germany')