MySQL select all records unless user must be present in favorites
I made a simple solution to my problem with the following condition;

CASE 
    WHEN items.favorite_only = 1 THEN 
    (SELECT favorites.user_id FROM favorites WHERE favorites.owner_id = items.owner_id AND favorites.user_id = 1 LIMIT 1)
    WHEN items.favorite_only = 0 THEN 1
END


Is there performance wise a better solution?