To do this, you should form the query as follows:
Yii::$app -> db -> createCommand() -> update(ContactusModel::tableName(), ['is_read' => 0], [ 'id' => $this -> id ]) -> execute();
Where:
ContactusModel::tableName() — the target table
$this -> id — an array of IDs, which will automatically generate a query with IN (.., .., .....)
