SELECT * FROM docs WHERE app_id = '19' AND (id = '' OR slug = '')