SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2e86c91b9024acb229394048a2697df06e20c886ab74b2bd1cf71a97b433962b' 
  AND token = 'Xd5ama4+aA0IkmmkgCsleach99Ajyz64clXD+xysPnE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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