SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f22164ba48e7a6ac42419b4212bc67bbb347b964f7ccecdf6c0a586b1538eeba' 
  AND token = 'k9GMhuqnfnxDff6R3JJjn4kFOKdQGEXXD8pCOs9ndF8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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