Sort (cost=12.43..12.44 rows=1 width=1773) Sort Key: m0_.ap_id DESC, m0_.last_active DESC -> Nested Loop (cost=0.29..12.42 rows=1 width=1773) -> Index Scan using idx_6a30b268a76ed395 on moderator m1_ (cost=0.14..4.16 rows=1 width=4) Index Cond: (user_id = 41538) -> Index Scan using magazine_pkey on magazine m0_ (cost=0.14..8.16 rows=1 width=1773) Index Cond: (id = m1_.magazine_id)
Sort (cost=12.43..12.44 rows=1 width=1773) Sort Key: m0_.ap_id DESC, m0_.last_active DESC -> Nested Loop (cost=0.29..12.42 rows=1 width=1773) -> Index Scan using idx_6a30b268a76ed395 on moderator m1_ (cost=0.14..4.16 rows=1 width=4) Index Cond: (user_id = 41538) -> Index Scan using magazine_pkey on magazine m0_ (cost=0.14..8.16 rows=1 width=1773) Index Cond: (id = m1_.magazine_id)