My Airtex elec pump is at tank mounted to frame. I only hear it when its pumping-up the pressure before I start the engine. It goes quiet after the pressure is up and the engine is running on the mechanical pump.
Regarding Filters: My car came with new gas tank so no one put a filter there or at the engine .... so far okay - the glass bowl on the mechanical pump stays clean.
Until decades ago gas stations were still using underground steel storage tanks, we use to get dirt, rust and water in the gas, which had auto stores selling aftermarket filters. Also, if you were in an off-the-beaten-path location that didn't sell much gas, you got stale gas and the steel tanks rotted faster. I believe most modern cars have replaceable gas filters.
Thankfully, due to environmental concerns about ground contamination from the many leaking tanks (gas, fuel oil, waste oil, etc) the tanks had to be changed to double-wall fiberglass type tanks, and cars are exposed to less gas contamination. All this of course does not address rusty auto gas tanks.