If you paid your 2017 car registration fee only in 2018, you cannot claim it on your 2017 tax return.
You will claim it on your 2018 tax return (to be filed in 2019).