When DJing there are no set guidelines that you must always follow. Trust your instincts. If two songs are in widely different keys they can still work. When DJing use you own judgment. If it sounds good to you then go for it.