SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_name = 'test' AND wp_posts.post_type = 'test' ORDER BY wp_posts.menu_order, wp_posts.post_date DESC

test

rgrg3tht3h4th4