SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c567f064518abaac836db0ad389d2564e97058871fc28cf2752cfb9256249b2d' 
  AND token = 'y43GNeMd8+dIyAw9MMeTfuFFx//AchGjDTXgfryWSHk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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