Fix n+2 issue in looks endpoint