SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5bedbcb76952a98469f731b21e7bc7ba88bb94b2c50e5412ad7434d6374a05f5' 
  AND token = 'YwHUdHi7hpdUpaOG6rtdvSS3cPRRHxKeWKmbc8w9OFI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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