I currently have this left join as part of a query:
LEFT JOIN movies t3 ON t1.movie_id = t3.movie_id AND t3.popularity = 0
The trouble is that
LEFT JOIN movies as m ON m.id = ( SELECT id FROM movies mm WHERE mm.movie_id = t1.movie_id ORDER BY mm.id DESC LIMIT 1 )