Можете да опитате да използвате UNION ALL
Select * from product
where name like "%abc%"
limit 50
UNION ALL
Select * from product
where name like "%xyz%"
limit 50
Можете да опитате да използвате UNION ALL
Select * from product
where name like "%abc%"
limit 50
UNION ALL
Select * from product
where name like "%xyz%"
limit 50