DELETE `a` , `b` FROM `wp_options` `a` , `wp_options` `b` WHERE `a` . `option_name` LIKE ? AND `a` . `option_name` NOT LIKE ? AND `b` . `option_name` = `CONCAT` ( ? , SUBSTRING ( `a` . `option_name` , ? ) ) AND `b` . `option_value` < ? 