I welcome everyone, there was a problem
there is a field in the database with approximately this content (this field is called a valid value, in the example one field)
2222 2223 2224 22 2 It is necessary to find an entry in which there is an entry, for example, 22, on the basis of this we understand that the search for LIKE '' or LIKE '% ...%' does not fit, you need an exact match of the string, 2222 does not fit, specifically suits
Less working option
SELECT * FROM `table` WHERE `value` RLIKE '[[:<:]]22[[:>:]]'