SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{885dd2b0aa3e970401603ad8ba8a3430dbdf3196ac7f4828cd57820cc8b8f62a}Hadamar{885dd2b0aa3e970401603ad8ba8a3430dbdf3196ac7f4828cd57820cc8b8f62a}' OR prCity = 'Hadamar' OR prZip = 'Hadamar' OR prStreet LIKE '{885dd2b0aa3e970401603ad8ba8a3430dbdf3196ac7f4828cd57820cc8b8f62a}Hadamar{885dd2b0aa3e970401603ad8ba8a3430dbdf3196ac7f4828cd57820cc8b8f62a}' OR prCountry = 'Hadamar') AND (prLocation LIKE '{885dd2b0aa3e970401603ad8ba8a3430dbdf3196ac7f4828cd57820cc8b8f62a}Germany{885dd2b0aa3e970401603ad8ba8a3430dbdf3196ac7f4828cd57820cc8b8f62a}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{885dd2b0aa3e970401603ad8ba8a3430dbdf3196ac7f4828cd57820cc8b8f62a}Germany{885dd2b0aa3e970401603ad8ba8a3430dbdf3196ac7f4828cd57820cc8b8f62a}' OR prCountry = 'Germany')