If you are receiving an SPF error with to many queries you can opt to flatten your SPF records with a company like https://dmarcian.com/spf-survey/ - They will flatten ALL of your SPF records, however, if you are worried that having flattened SPF records would take a lot of maintenance and management you can also flatten just our outbound SMTP servers records. 


Here is how you can build an SPF record for your domain that includes our IPv4 IP's. Please be aware that you will still need to add your original SPF includes to this record, and simply copy and pasting will not work. But it will provide you with a head start on solving this problem. Please adjust for your own usage and update the yourdomain.com part of the record. 


Each SPF record is kept to less than 512 bytes to fit into a single UDP packet (assuming no other TXT records are sharing the DNS label).

NOTE: this approach does not take into account administrative or domain boundaries, and is meant to show that "minified" SPF records are possible. The presence of unusual qualifiers, macros, and creative semantics will likely yield less than optimal results.

domainrecord
yourdomain.comv=spf1 ip4:23.83.208.1/20 ip4:46.232.183.0/24 ip4:52.10.99.51 ip4:52.10.130.167 ip4:52.26.49.97 ip4:52.28.6.212 ip4:52.28.59.28 ip4:52.28.147.211 ip4:52.28.246.64 ip4:52.28.251.132 ip4:52.29.156.81 ip4:52.58.19.153 ip4:52.58.96.151 ip4:52.58.97.209 ip4:52.58.109.202 ip4:54.68.34.165 ip4:54.68.138.64 ip4:54.69.62.154 ip4:54.69.130.42 ip4:54.148.30.215 ip4:54.148.38.162 ip4:54.148.113.140 ip4:54.148.153.48 ip4:54.148.165.188 ip4:54.148.218.146 include:spf1.yourdomain.com -all
spf1.yourdomain.comv=spf1 ip4:54.148.219.64 ip4:54.148.222.11 ip4:54.149.26.35 ip4:54.149.34.179 ip4:54.149.35.133 ip4:54.149.36.10 ip4:54.149.88.251 ip4:54.149.155.156 ip4:54.149.205.143 ip4:54.149.206.185 ip4:54.149.210.130 ip4:54.149.232.81 ip4:54.149.240.58 ip4:54.149.244.166 ip4:54.186.10.118 ip4:54.186.22.84 ip4:54.186.27.61 ip4:54.186.57.195 ip4:54.186.172.23 ip4:54.186.218.12 ip4:54.187.63.214 ip4:54.187.71.48 ip4:54.187.206.49 ip4:54.187.213.119 include:spf2.yourdomain.com -all
spf2.yourdomain.comv=spf1 ip4:54.187.218.212 ip4:54.191.151.194 ip4:54.191.158.99 ip4:54.191.214.3 ip4:54.191.214.36 ip4:54.200.129.228 ip4:54.200.247.200 ip4:54.213.22.21 ip4:177.153.0.128/25 ip4:191.252.57.0/25 -all