The RSPCA and police found 37 dogs and puppies in conditions with barely any light, and lying in faeces and urine.