Kadeem's answer will prevent your features from being visible, but they will still be present, if you are trying to identify an individual ship track you may click an invisible feature by mistake. What it seems like you need to do is define your layer so that it's as if those features don't exist. In ArcGIS this would usually be done using a Definition Query, in QGIS the equivalent command is the Layer Subset. Go to the Properties of your layer, underin the Source tab click on the button Query Builder (QGIS versions prior to 3.10 this used to be in the General tab, at the bottom isin the Feature Subset box), click the button below it to bring up the Query Builderfollowing window:
The Query Builder will help you create an SQL query to define what features in your layer should actually be displayed in your project. Note that the value needs to be stated between single quotes. Any features not returned by the query are made invisible, not just visually but entirely (they are not deleted from your data, of course, they're just defined out of existence until you remove the Layer Subset query).