What happens if you have 2 DNS entries:
Name | Type | Value
-------------+-------+--------------
example.com | A | 20.20.20.20
example.com | MX | mail.example.com
Does this mean that smtp requests to example.com will map to 20.20.20.20, and somehow request in the headers mail.example.com? What?
A Mail Transfer Agent will request the MX DNS entries for the receiving domain (example.com) and determine the record with the lowest distance (priority or preference) (mail.example.com, although no preference is given in your example) and will look up the corresponding IP address for that record. The MTA will connect to the IP address returned by the DNS server to deliver the e-mail.
In your example you are missing a A record for mail.example.com and a preference for the MX record, but the notation of the preference depends on the used DNS software.