SELECT * FROM tf0_postmeta a, tf0_posts b WHERE a.post_id = b.ID AND `meta_key` LIKE 'issuetocId' AND `meta_value` = 8988