Improve Connectivity To MySQL Databases Using Multiple Ports
Running MySQL on different ports wont make any difference in the Speed of your queries.
What you could do is have a look at your Indexes. If you have a WHERE statement, make sure you have in the following order =, !=, in, &lt; / >, like.

If you use 'where' and your 'like' is before '=' your query will run longer.