as per my tiny knowledge, It's probably due to one of following ...
- DNS issues (Most common one)
MTU problem (seen this issue at a network where many wifi routers were installed and the new TENDA brand was giving such issues)
Packet is blocked or lost at any point / HOPS (less chances)
for #1 , make a rule to forcefully route all DNS requests to external DNS server. Example below ...
/ip firewall nat
add action=dst-nat chain=dstnat comment="FORCING DNS TO GOOGLE DNS/zaiB" disabled=yes dst-port=53 log-prefix=dns_8.8.8.8 protocol=udp to-addresses=8.8.8.8 to-ports=53
First try dns forcing rule, it may solve the issue