SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c844a22edd24690b3ecbdea13a5e55aa1e9216ef4674057c57bc9fcb64054051' 
  AND token = 'n2s+IQ4S7coGG/RLJZk+JVXlvOKXAhfFw9rXm9bi6Mk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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