SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '235d59dd710582030963ba22eba692e8f83c33be20cb245dc0e228bdb96ddc16' 
  AND token = 'j7+YkkhTMCxAlWGTe0Xs/sjbx7MLDAPRsS54GlAyai8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}