SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd7b97d90837d66a4d369bf0c62e413578ba222451724853a4ec99a33904cc130' 
  AND token = 'xEMLuWydV2iU55TBglNOetU5sbnorjQzBN8ssLfh/30=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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