SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{5b2bbd5284c76a257de6e0aa9ef7c1e5a4fe7db4569663dbad26157f3a7702a9}Brakel{5b2bbd5284c76a257de6e0aa9ef7c1e5a4fe7db4569663dbad26157f3a7702a9}' OR prCity = 'Brakel' OR prZip = 'Brakel' OR prStreet LIKE '{5b2bbd5284c76a257de6e0aa9ef7c1e5a4fe7db4569663dbad26157f3a7702a9}Brakel{5b2bbd5284c76a257de6e0aa9ef7c1e5a4fe7db4569663dbad26157f3a7702a9}' OR prCountry = 'Brakel') AND (prLocation LIKE '{5b2bbd5284c76a257de6e0aa9ef7c1e5a4fe7db4569663dbad26157f3a7702a9}Germany{5b2bbd5284c76a257de6e0aa9ef7c1e5a4fe7db4569663dbad26157f3a7702a9}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{5b2bbd5284c76a257de6e0aa9ef7c1e5a4fe7db4569663dbad26157f3a7702a9}Germany{5b2bbd5284c76a257de6e0aa9ef7c1e5a4fe7db4569663dbad26157f3a7702a9}' OR prCountry = 'Germany')