SELECT * FROM `size_details` WHERE size_details.standard = 20
Results
SELECT * FROM `size_details` WHERE size_details.standard = '20'
Results
SELECT * FROM `size_details` WHERE size_details.standard = 20
Results
SELECT * FROM `size_details` WHERE size_details.standard = '20'
Results
In your first example the constant you're comparing against is expressed as an integer so MySQL attempts to cast the value from the table to an integer for comparison. It will proceed character by character until it encounters a non-numeric character.
In your example 20x20 will cast to 20 because the conversion stops at x. This passes the comparison.
In your second example both parts of the comparison are strings and '20x20' is not equal to '20' so the comparison fails.