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