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