SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c8eefe240dd1a1e4dd637e12ec7b20a0ad9a05e639f458c88c9c127d61dfe1ef' 
  AND token = 'QX54xO5QCo23GqX3XUPIINOQwhFi/dy8j+2Ymbx1g64=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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