SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{7db27d3ca97b94cec410df9d52f7a432ef2fdfd9fd710235fd68e918bc2758f4}Ahlerstedt{7db27d3ca97b94cec410df9d52f7a432ef2fdfd9fd710235fd68e918bc2758f4}' OR prCity = 'Ahlerstedt' OR prZip = 'Ahlerstedt' OR prStreet LIKE '{7db27d3ca97b94cec410df9d52f7a432ef2fdfd9fd710235fd68e918bc2758f4}Ahlerstedt{7db27d3ca97b94cec410df9d52f7a432ef2fdfd9fd710235fd68e918bc2758f4}' OR prCountry = 'Ahlerstedt') AND (prLocation LIKE '{7db27d3ca97b94cec410df9d52f7a432ef2fdfd9fd710235fd68e918bc2758f4}Germany{7db27d3ca97b94cec410df9d52f7a432ef2fdfd9fd710235fd68e918bc2758f4}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{7db27d3ca97b94cec410df9d52f7a432ef2fdfd9fd710235fd68e918bc2758f4}Germany{7db27d3ca97b94cec410df9d52f7a432ef2fdfd9fd710235fd68e918bc2758f4}' OR prCountry = 'Germany')