SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e4c77a9168a820dcf7a52e4f5e1a060ea867151e82459e75405c7e4f4afcfc1c' 
  AND token = 'W7bHtsDmdqgEt3saSkxMSpxdGCQ9yYVPR0ZxdUfKDrg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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