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