SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af7387595272252bbcc7525b9ef8deccc9a45e77a19f63bb372f99dfdb30ab67' 
  AND token = '/MZ+WPhW929fdgMW98G+C0N7iPj3rewY9k0GiAf7554=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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