You are significantly overestimating the level of recordkeeping by random sellers of used and/or ultra-cheap phones. Manufacturers, major retailers, and carriers may keep this information, but bodegas and street vendors certainly do not.
This is certainly approaching murder investigation levels of effort by law enforcement, but I don't think it's ridiculous to imagine a POS system being used that keeps transaction records for a year or two.