SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23c887a6a3e51103a33d514b321ed0ab679e6153ed0bd0ce184f1ea05c78fca0' 
  AND token = 'shAaN4H5Yb+n1ynJLMRVC20el48G3jAn+dbFvx2bPR8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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