SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0a51dc58739c4be2b13057a516c19003a9aa4697fbfe172cd3c77880e9dcd6e2' 
  AND token = 'xw5liWJhTM00ouf51bfQfdaWJeu1hA9CRl3PBkHCkHQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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