SELECT trackingnumber, form, orderid 
FROM trackingnumbers 
WHERE (form = '' OR form IS NULL) 
AND (trackingnumber LIKE '94%' OR trackingnumber LIKE 'CY%') 
AND shipdate > DATE_ADD(DATE_ADD(NOW(), INTERVAL 2 HOUR), INTERVAL -90 DAY)
;