Aşağıdaki iş görüyor mu;
SELECT * FROM tablo WHERE message_owner = 2 AND message_type = 1;

Sorunuz çok anlaşılır değil.