SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c6c51e0bcf39729c3f8dccb734ad3baa4d23bd0fe2a06f3c7ac168a5ed955f17' 
  AND token = 'h8+A0Nx7uy6gfQzkG4pCd46aHRC0o5LNfLhaAQyZMk0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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