SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7c8eff1b111903053866bc63474eac1959ff2a5238f977f0f4905c345a005170' 
  AND token = 'fnSKj8nJp4oqSQEtiGWLRXshvQ6VOQrAoBFdR1I3DZU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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