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