Similar to escape_str(), but will also escape the %
and _ wildcard characters, so that they don’t cause
false-positives in LIKE conditions.

Important

The escape_like_str() method uses ‘!’ (exclamation mark)
to escape special characters for LIKE conditions. Because this
method escapes partial strings that you would wrap in quotes
yourself, it cannot automatically add the ESCAPE'!'
condition for you, and so you’ll have to manually do that.

Since the column name can include up to four segments
(host, DB, table, column) or also have an alias prefix,
we need to do a bit of work to figure this out and
insert the table prefix (if it exists) in the proper
position, and escape only the correct identifiers.