Optimize query in _select_dhcp_ips_for_network_ids
Optimize query in _select_dhcp_ips_for_network_ids

Only query the DB for relevant columns instead of
all of the port columns.

Partial-Bug: #1373851
Change-Id: I32cd4a0bc6799ce77cea13188676308e3e641d19

gkotton/vmware-nsx,gkotton/vmware-nsx